function InstallerTestBase::setUpProfile

Same name in other branches
  1. 8.9.x core/modules/simpletest/src/InstallerTestBase.php \Drupal\simpletest\InstallerTestBase::setUpProfile()
  2. 8.9.x core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php \Drupal\FunctionalTests\Installer\InstallerTestBase::setUpProfile()
  3. 10 core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php \Drupal\FunctionalTests\Installer\InstallerTestBase::setUpProfile()
  4. 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
Tests that Drupal fails to install when there is an existing installation.
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
9 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 245

Class

InstallerTestBase
Base class for testing the interactive installer.

Namespace

Drupal\FunctionalTests\Installer

Code

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

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