You are here

protected function InstallerTestBase::setUpLanguage in Drupal 8

Same name in this branch
  1. 8 core/modules/simpletest/src/InstallerTestBase.php \Drupal\simpletest\InstallerTestBase::setUpLanguage()
  2. 8 core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php \Drupal\FunctionalTests\Installer\InstallerTestBase::setUpLanguage()
Same name and namespace in other branches
  1. 9 core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php \Drupal\FunctionalTests\Installer\InstallerTestBase::setUpLanguage()
  2. 10 core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php \Drupal\FunctionalTests\Installer\InstallerTestBase::setUpLanguage()

Installer step: Select language.

13 calls to InstallerTestBase::setUpLanguage()
ConfigTranslationInstallTest::setUpLanguage in core/modules/config_translation/tests/src/Functional/ConfigTranslationInstallTest.php
Installer step: Select language.
DistributionProfileExistingSettingsTest::setUpLanguage in core/tests/Drupal/FunctionalTests/Installer/DistributionProfileExistingSettingsTest.php
Installer step: Select language.
DistributionProfileTest::setUpLanguage in core/tests/Drupal/FunctionalTests/Installer/DistributionProfileTest.php
Installer step: Select language.
InstallerExistingConfigTest::setUpLanguage in core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigTest.php
Installer step: Select language.
InstallerExistingInstallationTest::testInstaller in core/tests/Drupal/FunctionalTests/Installer/InstallerExistingInstallationTest.php
Verifies that Drupal can't be reinstalled while an existing installation is available.

... See full list

16 methods override InstallerTestBase::setUpLanguage()
ConfigTranslationInstallTest::setUpLanguage in core/modules/config_translation/tests/src/Functional/ConfigTranslationInstallTest.php
Installer step: Select language.
DistributionProfileExistingSettingsTest::setUpLanguage in core/tests/Drupal/FunctionalTests/Installer/DistributionProfileExistingSettingsTest.php
Installer step: Select language.
DistributionProfileTest::setUpLanguage in core/tests/Drupal/FunctionalTests/Installer/DistributionProfileTest.php
Installer step: Select language.
DistributionProfileTranslationQueryTest::setUpLanguage in core/tests/Drupal/FunctionalTests/Installer/DistributionProfileTranslationQueryTest.php
Installer step: Select language.
DistributionProfileTranslationTest::setUpLanguage in core/tests/Drupal/FunctionalTests/Installer/DistributionProfileTranslationTest.php
Installer step: Select language.

... See full list

File

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

Class

InstallerTestBase
Base class for testing the interactive installer.

Namespace

Drupal\FunctionalTests\Installer

Code

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