function InstallerTestBase::setUpSite

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

Final installer step: Configure site.

5 calls to InstallerTestBase::setUpSite()
InstallerSiteConfigProfileTest::setUpSite in core/tests/Drupal/FunctionalTests/Installer/InstallerSiteConfigProfileTest.php
Final installer step: Configure site.
InstallerSkipPermissionHardeningTest::setUpSite in core/tests/Drupal/FunctionalTests/Installer/InstallerSkipPermissionHardeningTest.php
Final installer step: Configure site.
InstallerTest::setUpSite in core/tests/Drupal/FunctionalTests/Installer/InstallerTest.php
Final installer step: Configure site.
InstallerTestBase::setUp in core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php
StandardInstallerTest::setUpSite in core/tests/Drupal/FunctionalTests/Installer/StandardInstallerTest.php
Final installer step: Configure site.
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 277

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;
}

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