function InstallerTestBase::setUpSettings

Installer step: Configure settings.

2 calls to InstallerTestBase::setUpSettings()
InstallerExistingInstallationTest::testInstaller in core/tests/Drupal/FunctionalTests/Installer/InstallerExistingInstallationTest.php
Tests that Drupal fails to install when there is an existing installation.
InstallerTestBase::setUp in core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php
22 methods override InstallerTestBase::setUpSettings()
ConfigInstallProfileUnmetDependenciesTest::setUpSettings in core/modules/config/tests/src/Functional/ConfigInstallProfileUnmetDependenciesTest.php
DistributionProfileExistingSettingsTest::setUpSettings in core/tests/Drupal/FunctionalTests/Installer/DistributionProfileExistingSettingsTest.php
DistributionProfileTranslationQueryTest::setUpSettings in core/tests/Drupal/FunctionalTests/Installer/DistributionProfileTranslationQueryTest.php
DistributionProfileTranslationTest::setUpSettings in core/tests/Drupal/FunctionalTests/Installer/DistributionProfileTranslationTest.php
InstallerBrokenDatabaseCredentialsTest::setUpSettings in core/tests/Drupal/FunctionalTests/Installer/InstallerBrokenDatabaseCredentialsTest.php

... See full list

File

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

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.