function InstallerTestBase::setUpProfile

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

Installer step: Select installation profile.

4 calls to InstallerTestBase::setUpProfile()
InstallerExistingConfigTestBase::setUpProfile in core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigTestBase.php
Installer step: Select installation profile.
InstallerExistingInstallationTest::testInstaller in core/tests/Drupal/FunctionalTests/Installer/InstallerExistingInstallationTest.php
Verifies that Drupal can't be reinstalled while an existing installation is available.
InstallerTest::setUpProfile in core/tests/Drupal/FunctionalTests/Installer/InstallerTest.php
Installer step: Select installation profile.
InstallerTestBase::setUp in core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php
10 methods override InstallerTestBase::setUpProfile()
DistributionProfileExistingSettingsTest::setUpProfile in core/tests/Drupal/FunctionalTests/Installer/DistributionProfileExistingSettingsTest.php
Installer step: Select installation profile.
DistributionProfileTest::setUpProfile in core/tests/Drupal/FunctionalTests/Installer/DistributionProfileTest.php
Installer step: Select installation profile.
DistributionProfileTranslationQueryTest::setUpProfile in core/tests/Drupal/FunctionalTests/Installer/DistributionProfileTranslationQueryTest.php
Installer step: Select installation profile.
DistributionProfileTranslationTest::setUpProfile in core/tests/Drupal/FunctionalTests/Installer/DistributionProfileTranslationTest.php
Installer step: Select installation profile.
InstallerExistingConfigTestBase::setUpProfile in core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigTestBase.php
Installer step: Select installation profile.

... See full list

File

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

Class

InstallerTestBase
Base class for testing the interactive installer.

Namespace

Drupal\FunctionalTests\Installer

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.