function InstallerSiteConfigProfileTest::setUpSite
Same name in other branches
- 9 core/tests/Drupal/FunctionalTests/Installer/InstallerSiteConfigProfileTest.php \Drupal\FunctionalTests\Installer\InstallerSiteConfigProfileTest::setUpSite()
- 10 core/tests/Drupal/FunctionalTests/Installer/InstallerSiteConfigProfileTest.php \Drupal\FunctionalTests\Installer\InstallerSiteConfigProfileTest::setUpSite()
- 11.x core/tests/Drupal/FunctionalTests/Installer/InstallerSiteConfigProfileTest.php \Drupal\FunctionalTests\Installer\InstallerSiteConfigProfileTest::setUpSite()
Overrides InstallerTestBase::setUpSite
File
-
core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerSiteConfigProfileTest.php, line 53
Class
- InstallerSiteConfigProfileTest
- Verifies that the installer defaults to the existing site email address and timezone, if they were provided by the install profile.
Namespace
Drupal\FunctionalTests\InstallerCode
protected function setUpSite() {
$this->assertFieldByName('site_mail', self::EXPECTED_SITE_MAIL);
$this->assertFieldByName('date_default_timezone', self::EXPECTED_TIMEZONE);
return parent::setUpSite();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.