function InstallerSiteConfigProfileTest::testInstaller
Same name in other branches
- 9 core/tests/Drupal/FunctionalTests/Installer/InstallerSiteConfigProfileTest.php \Drupal\FunctionalTests\Installer\InstallerSiteConfigProfileTest::testInstaller()
- 8.9.x core/tests/Drupal/FunctionalTests/Installer/InstallerSiteConfigProfileTest.php \Drupal\FunctionalTests\Installer\InstallerSiteConfigProfileTest::testInstaller()
- 11.x core/tests/Drupal/FunctionalTests/Installer/InstallerSiteConfigProfileTest.php \Drupal\FunctionalTests\Installer\InstallerSiteConfigProfileTest::testInstaller()
Verify the correct site config was set.
File
-
core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerSiteConfigProfileTest.php, line 64
Class
- InstallerSiteConfigProfileTest
- Verifies that the installer uses the profile's site configuration.
Namespace
Drupal\FunctionalTests\InstallerCode
public function testInstaller() : void {
$this->assertEquals(self::EXPECTED_SITE_MAIL, $this->config('system.site')
->get('mail'));
$this->assertEquals(self::EXPECTED_TIMEZONE, $this->config('system.date')
->get('timezone.default'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.