You are here

protected function InstallerTestBase::setUpSite in SimpleTest 8.3

Final installer step: Configure site.

1 call to InstallerTestBase::setUpSite()
InstallerTestBase::setUp in src/InstallerTestBase.php
Sets up a Drupal site for running functional and integration tests.

File

src/InstallerTestBase.php, line 228

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