diff --git a/core/tests/Drupal/Tests/Core/Command/QuickStartTest.php b/core/tests/Drupal/Tests/Core/Command/QuickStartTest.php index fae9dd4d49..594f29eabc 100644 --- a/core/tests/Drupal/Tests/Core/Command/QuickStartTest.php +++ b/core/tests/Drupal/Tests/Core/Command/QuickStartTest.php @@ -167,7 +167,7 @@ public function testPhpRequirement() { $error_output = $process->getErrorOutput(); $this->assertStringContainsString('Your PHP installation is too old.', $error_output); $this->assertStringContainsString('Drupal requires at least PHP', $error_output); - $this->assertContains(\Drupal::MINIMUM_SUPPORTED_PHP, $error_output); + $this->assertStringContainsString(\Drupal::MINIMUM_SUPPORTED_PHP, $error_output); // Stop the web server. $process->stop();