diff -u b/core/modules/system/src/Tests/System/StatusTest.php b/core/modules/system/src/Tests/System/StatusTest.php --- b/core/modules/system/src/Tests/System/StatusTest.php +++ b/core/modules/system/src/Tests/System/StatusTest.php @@ -40,14 +40,6 @@ } /** - * Tests that the phpinfo page returns. - */ - public function testPhpInfoPage() { - $this->drupalGet('admin/reports/status/php'); - $this->assertResponse(200, 'The phpinfo page is reachable.'); - } - - /** * Tests the php requirements's output in several scenarios. */ public function testPhpRequirements() { @@ -71,6 +63,9 @@ else { $this->assertNoLinkByHref(Url::fromRoute('system.php')->toString()); } + + $this->drupalGet('admin/reports/status/php'); + $this->assertResponse(200, 'The phpinfo page is reachable.'); } }