diff --git a/core/tests/Drupal/Tests/Core/Command/QuickStartTest.php b/core/tests/Drupal/Tests/Core/Command/QuickStartTest.php index 9333bba..5b05735 100644 --- a/core/tests/Drupal/Tests/Core/Command/QuickStartTest.php +++ b/core/tests/Drupal/Tests/Core/Command/QuickStartTest.php @@ -58,6 +58,7 @@ public function setUp() { } // Get a lock and a valid site path. $this->testDb = new TestDatabase(); + include $this->root . '/core/includes/bootstrap.inc'; } /** @@ -121,7 +122,6 @@ public function testQuickStartCommand() { $this->assertContains("127.0.0.1:$port/user/reset/1/", $process->getOutput()); // Generate a cookie so we can make a request against the installed site. - include $this->root . '/core/includes/bootstrap.inc'; define('DRUPAL_TEST_IN_CHILD_SITE', FALSE); chmod($this->testDb->getTestSitePath(), 0755); $cookieJar = CookieJar::fromArray([ @@ -222,7 +222,6 @@ public function testQuickStartInstallAndServerCommands() { sleep(2); // Generate a cookie so we can make a request against the installed site. - include $this->root . '/core/includes/bootstrap.inc'; define('DRUPAL_TEST_IN_CHILD_SITE', FALSE); chmod($this->testDb->getTestSitePath(), 0755); $cookieJar = CookieJar::fromArray([ @@ -332,7 +331,3 @@ protected function fileUnmanagedDeleteRecursive($path, $callback = NULL) { } } - -if (!defined('DRUPAL_MINIMUM_PHP')) { - define('DRUPAL_MINIMUM_PHP', '7.0.0'); -}