You are here

protected function InstallerTestBase::setUpProfile in Drupal 8

Same name in this branch
  1. 8 core/modules/simpletest/src/InstallerTestBase.php \Drupal\simpletest\InstallerTestBase::setUpProfile()
  2. 8 core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php \Drupal\FunctionalTests\Installer\InstallerTestBase::setUpProfile()

Installer step: Select installation profile.

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

File

core/modules/simpletest/src/InstallerTestBase.php, line 198

Class

InstallerTestBase
Base class for testing the interactive installer.

Namespace

Drupal\simpletest

Code

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