You are here

protected function InstallerTestBase::setUpSite in Zircon Profile 8

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

Final installer step: Configure site.

3 calls to InstallerTestBase::setUpSite()
InstallerTest::setUpSite in core/modules/system/src/Tests/Installer/InstallerTest.php
Final installer step: Configure site.
InstallerTestBase::setUp in core/modules/simpletest/src/InstallerTestBase.php
Sets up a Drupal site for running functional and integration tests.
StandardInstallerTest::setUpSite in core/modules/system/src/Tests/Installer/StandardInstallerTest.php
Final installer step: Configure site.
4 methods override InstallerTestBase::setUpSite()
ConfigInstallProfileUnmetDependenciesTest::setUpSite in core/modules/config/src/Tests/ConfigInstallProfileUnmetDependenciesTest.php
Final installer step: Configure site.
InstallerDatabaseErrorMessagesTest::setUpSite in core/modules/system/src/Tests/Installer/InstallerDatabaseErrorMessagesTest.php
inheritdoc}
InstallerTest::setUpSite in core/modules/system/src/Tests/Installer/InstallerTest.php
Final installer step: Configure site.
StandardInstallerTest::setUpSite in core/modules/system/src/Tests/Installer/StandardInstallerTest.php
Final installer step: Configure site.

File

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

Class

InstallerTestBase
Base class for testing the interactive installer.

Namespace

Drupal\simpletest

Code

protected function setUpSite() {
  $edit = $this
    ->translatePostValues($this->parameters['forms']['install_configure_form']);
  $this
    ->drupalPostForm(NULL, $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;
}