You are here

protected function InstallerTestBase::setUpProfile in Zircon Profile 8

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

Installer step: Select installation profile.

3 calls to InstallerTestBase::setUpProfile()
InstallerExistingInstallationTest::testInstaller in core/modules/system/src/Tests/Installer/InstallerExistingInstallationTest.php
Verifies that Drupal can't be reinstalled while an existing installation is available.
InstallerTest::setUpProfile in core/modules/system/src/Tests/Installer/InstallerTest.php
Installer step: Select installation profile.
InstallerTestBase::setUp in core/modules/simpletest/src/InstallerTestBase.php
Sets up a Drupal site for running functional and integration tests.
3 methods override InstallerTestBase::setUpProfile()
DistributionProfileTest::setUpProfile in core/modules/system/src/Tests/Installer/DistributionProfileTest.php
Installer step: Select installation profile.
InstallerTest::setUpProfile in core/modules/system/src/Tests/Installer/InstallerTest.php
Installer step: Select installation profile.
SingleVisibleProfileTest::setUpProfile in core/modules/system/src/Tests/Installer/SingleVisibleProfileTest.php
Installer step: Select installation profile.

File

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

Class

InstallerTestBase
Base class for testing the interactive installer.

Namespace

Drupal\simpletest

Code

protected function setUpProfile() {
  $edit = array(
    'profile' => $this->profile,
  );
  $this
    ->drupalPostForm(NULL, $edit, $this->translations['Save and continue']);
}