You are here

protected function InstallerExistingConfigSyncDriectoryProfileMismatchTest::setUpSettings in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDriectoryProfileMismatchTest.php \Drupal\FunctionalTests\Installer\InstallerExistingConfigSyncDriectoryProfileMismatchTest::setUpSettings()

Installer step: Configure settings.

Overrides InstallerTestBase::setUpSettings

File

core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDriectoryProfileMismatchTest.php, line 37

Class

InstallerExistingConfigSyncDriectoryProfileMismatchTest
Verifies that installing from existing configuration works.

Namespace

Drupal\FunctionalTests\Installer

Code

protected function setUpSettings() {

  // Cause a profile mismatch by hacking the URL.
  $this
    ->drupalGet(str_replace($this->profile, 'minimal', $this
    ->getUrl()));
  parent::setUpSettings();
}