function StatusProfileWithoutVersionTest::testStatusPage
Tests that an installation profile that has no version is displayed.
@group legacy
File
-
core/
modules/ system/ tests/ src/ Functional/ System/ StatusProfileWithoutVersionTest.php, line 44
Class
- StatusProfileWithoutVersionTest
- Tests the Status Report page if the installation profile has no version.
Namespace
Drupal\Tests\system\Functional\SystemCode
public function testStatusPage() : void {
$this->drupalGet('admin/reports/status');
$this->assertSession()
->statusCodeEquals(200);
// Check that the installation profile information is displayed.
$this->assertSession()
->pageTextContains('Testing - No Version (testing_no_version)');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.