public function commandCase::testRequirementBootstrapPhase

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

Assert that minimum bootstrap phase is honored.

Not testing dependency on a module since that requires an installed Drupal. Too slow for little benefit.

File

tests/commandTest.php, line 38

Namespace

Unish

Class

commandCase
@group base

Code

public function testRequirementBootstrapPhase() {
  // Assure that core-cron fails when run outside of a Drupal site.
  $return = $this->drush('core-cron', array(), array('quiet' => NULL), NULL, NULL, self::EXIT_ERROR);
}