function InstallerTestBase::setUpSettings

Same name in other branches
  1. 9 core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php \Drupal\FunctionalTests\Installer\InstallerTestBase::setUpSettings()
  2. 8.9.x core/modules/simpletest/src/InstallerTestBase.php \Drupal\simpletest\InstallerTestBase::setUpSettings()
  3. 8.9.x core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php \Drupal\FunctionalTests\Installer\InstallerTestBase::setUpSettings()
  4. 11.x core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php \Drupal\FunctionalTests\Installer\InstallerTestBase::setUpSettings()

Installer step: Configure settings.

10 calls to InstallerTestBase::setUpSettings()
ConfigInstallProfileUnmetDependenciesTest::setUpSettings in core/modules/config/tests/src/Functional/ConfigInstallProfileUnmetDependenciesTest.php
Installer step: Configure settings.
DistributionProfileTranslationQueryTest::setUpSettings in core/tests/Drupal/FunctionalTests/Installer/DistributionProfileTranslationQueryTest.php
Installer step: Configure settings.
DistributionProfileTranslationTest::setUpSettings in core/tests/Drupal/FunctionalTests/Installer/DistributionProfileTranslationTest.php
Installer step: Configure settings.
InstallerDatabaseErrorMessagesTest::setUpSettings in core/tests/Drupal/FunctionalTests/Installer/InstallerDatabaseErrorMessagesTest.php
Installer step: Configure settings.
InstallerExistingConfigSyncDirectoryProfileMismatchTest::setUpSettings in core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryProfileMismatchTest.php
Installer step: Configure settings.

... See full list

21 methods override InstallerTestBase::setUpSettings()
ConfigInstallProfileUnmetDependenciesTest::setUpSettings in core/modules/config/tests/src/Functional/ConfigInstallProfileUnmetDependenciesTest.php
Installer step: Configure settings.
DistributionProfileExistingSettingsTest::setUpSettings in core/tests/Drupal/FunctionalTests/Installer/DistributionProfileExistingSettingsTest.php
Installer step: Configure settings.
DistributionProfileTranslationQueryTest::setUpSettings in core/tests/Drupal/FunctionalTests/Installer/DistributionProfileTranslationQueryTest.php
Installer step: Configure settings.
DistributionProfileTranslationTest::setUpSettings in core/tests/Drupal/FunctionalTests/Installer/DistributionProfileTranslationTest.php
Installer step: Configure settings.
InstallerBrokenDatabaseCredentialsTest::setUpSettings in core/tests/Drupal/FunctionalTests/Installer/InstallerBrokenDatabaseCredentialsTest.php
Installer step: Configure settings.

... See full list

File

core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php, line 260

Class

InstallerTestBase
Base class for testing the interactive installer.

Namespace

Drupal\FunctionalTests\Installer

Code

protected function setUpSettings() {
    $parameters = $this->parameters['forms']['install_settings_form'];
    $driver = $parameters['driver'];
    unset($parameters[$driver]['dependencies']);
    $edit = $this->translatePostValues($parameters);
    $this->submitForm($edit, $this->translations['Save and continue']);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.