You are here

protected function InstallerTestBase::setUpSite in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php \Drupal\FunctionalTests\Installer\InstallerTestBase::setUpSite()
  2. 10 core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php \Drupal\FunctionalTests\Installer\InstallerTestBase::setUpSite()

Final installer step: Configure site.

1 call to InstallerTestBase::setUpSite()
InstallerTestBase::setUp in core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php
14 methods override InstallerTestBase::setUpSite()
InstallerConfigDirectorySetNoDirectoryErrorTest::setUpSite in core/tests/Drupal/FunctionalTests/Installer/InstallerConfigDirectorySetNoDirectoryErrorTest.php
Final installer step: Configure site.
InstallerDatabaseErrorMessagesTest::setUpSite in core/tests/Drupal/FunctionalTests/Installer/InstallerDatabaseErrorMessagesTest.php
Final installer step: Configure site.
InstallerExistingBrokenDatabaseSettingsTest::setUpSite in core/tests/Drupal/FunctionalTests/Installer/InstallerExistingBrokenDatabaseSettingsTest.php
Final installer step: Configure site.
InstallerExistingConfigNoConfigTest::setUpSite in core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigNoConfigTest.php
Final installer step: Configure site.
InstallerExistingConfigNoSystemSiteTest::setUpSite in core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigNoSystemSiteTest.php
Final installer step: Configure site.

... See full list

File

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

Class

InstallerTestBase
Base class for testing the interactive installer.

Namespace

Drupal\FunctionalTests\Installer

Code

protected function setUpSite() {
  $edit = $this
    ->translatePostValues($this->parameters['forms']['install_configure_form']);
  $this
    ->submitForm($edit, $this->translations['Save and continue']);

  // If we've got to this point the site is installed using the regular
  // installation workflow.
  $this->isInstalled = TRUE;
}