public function commandCase::testMissingCommandCallback

8.0.x commandTest.php public commandCase::testMissingCommandCallback()
6.x commandTest.php public commandCase::testMissingCommandCallback()
7.x commandTest.php public commandCase::testMissingCommandCallback()
5.x commandTest.php public commandCase::testMissingCommandCallback()
master commandTest.php public commandCase::testMissingCommandCallback()

Assert that errors are thrown for commands with missing callbacks.

File

tests/commandTest.php, line 58

Class

commandCase
@group base

Code

public function testMissingCommandCallback() {
  $options = array(
    'include' => dirname(__FILE__), // Find unit.drush.inc commandfile. //'show-invoke' => TRUE,
  );
  $this->drush('missing-callback', array(), $options, NULL, NULL, self::EXIT_ERROR);
}