function InstallerExistingConfigSyncDirectoryProfileMismatchTest::setUpSettings
Same name in other branches
- 9 core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryProfileMismatchTest.php \Drupal\FunctionalTests\Installer\InstallerExistingConfigSyncDirectoryProfileMismatchTest::setUpSettings()
- 10 core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryProfileMismatchTest.php \Drupal\FunctionalTests\Installer\InstallerExistingConfigSyncDirectoryProfileMismatchTest::setUpSettings()
Installer step: Configure settings.
Overrides InstallerTestBase::setUpSettings
File
-
core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerExistingConfigSyncDirectoryProfileMismatchTest.php, line 39
Class
- InstallerExistingConfigSyncDirectoryProfileMismatchTest
- Verifies that installing from existing configuration works.
Namespace
Drupal\FunctionalTests\InstallerCode
protected function setUpSettings() : void {
// Cause a profile mismatch by hacking the URL.
$this->drupalGet(str_replace($this->profile, 'minimal', $this->getUrl()));
parent::setUpSettings();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.