function InstallerSiteConfigProfileTest::testInstaller
Verify the correct site config was set.
File
-
core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerSiteConfigProfileTest.php, line 63
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
public function testInstaller() {
$this->assertEqual($this->config('system.site')
->get('mail'), self::EXPECTED_SITE_MAIL);
$this->assertEqual($this->config('system.date')
->get('timezone.default'), self::EXPECTED_TIMEZONE);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.