function InstallerTestBase::setUpSite

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

Final installer step: Configure site.

7 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.

... See full list

19 methods override InstallerTestBase::setUpSite()
ConfigInstallProfileUnmetDependenciesTest::setUpSite in core/modules/config/tests/src/Functional/ConfigInstallProfileUnmetDependenciesTest.php
Final installer step: Configure site.
InstallerBrokenDatabaseCredentialsTest::setUpSite in core/tests/Drupal/FunctionalTests/Installer/InstallerBrokenDatabaseCredentialsTest.php
Final installer step: Configure site.
InstallerBrokenDatabasePortSettingsTest::setUpSite in core/tests/Drupal/FunctionalTests/Installer/InstallerBrokenDatabasePortSettingsTest.php
Final installer step: Configure site.
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.

... See full list

File

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

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.