function SiteNameTest::testSiteName
Same name in other branches
- 9 core/tests/Drupal/FunctionalTests/Installer/SiteNameTest.php \Drupal\FunctionalTests\Installer\SiteNameTest::testSiteName()
- 8.9.x core/tests/Drupal/FunctionalTests/Installer/SiteNameTest.php \Drupal\FunctionalTests\Installer\SiteNameTest::testSiteName()
- 10 core/tests/Drupal/FunctionalTests/Installer/SiteNameTest.php \Drupal\FunctionalTests\Installer\SiteNameTest::testSiteName()
Tests that the desired site name appears on the page after installation.
File
-
core/
tests/ Drupal/ FunctionalTests/ Installer/ SiteNameTest.php, line 41
Class
- SiteNameTest
- Tests that the site name can be set during a non-interactive installation.
Namespace
Drupal\FunctionalTests\InstallerCode
public function testSiteName() : void {
$this->drupalGet('');
$this->assertSession()
->pageTextContains($this->siteName);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.