You are here

protected function InstallerTestBase::setUpSettings in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/simpletest/src/InstallerTestBase.php \Drupal\simpletest\InstallerTestBase::setUpSettings()

Installer step: Configure settings.

5 calls to InstallerTestBase::setUpSettings()
InstallerDatabaseErrorMessagesTest::setUpSettings in core/modules/system/src/Tests/Installer/InstallerDatabaseErrorMessagesTest.php
inheritdoc}
InstallerExistingInstallationTest::testInstaller in core/modules/system/src/Tests/Installer/InstallerExistingInstallationTest.php
Verifies that Drupal can't be reinstalled while an existing installation is available.
InstallerTest::setUpSettings in core/modules/system/src/Tests/Installer/InstallerTest.php
Installer step: Configure settings.
InstallerTestBase::setUp in core/modules/simpletest/src/InstallerTestBase.php
Sets up a Drupal site for running functional and integration tests.
InstallerTranslationTest::setUpSettings in core/modules/system/src/Tests/Installer/InstallerTranslationTest.php
inheritdoc}
6 methods override InstallerTestBase::setUpSettings()
InstallerDatabaseErrorMessagesTest::setUpSettings in core/modules/system/src/Tests/Installer/InstallerDatabaseErrorMessagesTest.php
inheritdoc}
InstallerExistingDatabaseSettingsTest::setUpSettings in core/modules/system/src/Tests/Installer/InstallerExistingDatabaseSettingsTest.php
@todo The database settings form is not supposed to appear if settings.php contains a valid database connection already (but e.g. no config directories yet).
InstallerExistingSettingsNoProfileTest::setUpSettings in core/modules/system/src/Tests/Installer/InstallerExistingSettingsNoProfileTest.php
Installer step: Configure settings.
InstallerExistingSettingsTest::setUpSettings in core/modules/system/src/Tests/Installer/InstallerExistingSettingsTest.php
Installer step: Configure settings.
InstallerTest::setUpSettings in core/modules/system/src/Tests/Installer/InstallerTest.php
Installer step: Configure settings.

... See full list

File

core/modules/simpletest/src/InstallerTestBase.php, line 190
Contains \Drupal\simpletest\InstallerTestBase.

Class

InstallerTestBase
Base class for testing the interactive installer.

Namespace

Drupal\simpletest

Code

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