function 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.