You are here

protected function InstallerTestBase::setUpLanguage in Zircon Profile 8

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

Installer step: Select language.

9 calls to InstallerTestBase::setUpLanguage()
ConfigTranslationInstallTest::setUpLanguage in core/modules/config_translation/src/Tests/ConfigTranslationInstallTest.php
Installer step: Select language.
DistributionProfileTest::setUpLanguage in core/modules/system/src/Tests/Installer/DistributionProfileTest.php
Installer step: Select language.
InstallerExistingInstallationTest::testInstaller in core/modules/system/src/Tests/Installer/InstallerExistingInstallationTest.php
Verifies that Drupal can't be reinstalled while an existing installation is available.
InstallerLanguageDirectionTest::setUpLanguage in core/modules/system/src/Tests/Installer/InstallerLanguageDirectionTest.php
Installer step: Select language.
InstallerLanguagePageTest::setUpLanguage in core/modules/system/src/Tests/Installer/InstallerLanguagePageTest.php
Installer step: Select language.

... See full list

7 methods override InstallerTestBase::setUpLanguage()
ConfigTranslationInstallTest::setUpLanguage in core/modules/config_translation/src/Tests/ConfigTranslationInstallTest.php
Installer step: Select language.
DistributionProfileTest::setUpLanguage in core/modules/system/src/Tests/Installer/DistributionProfileTest.php
Installer step: Select language.
InstallerLanguageDirectionTest::setUpLanguage in core/modules/system/src/Tests/Installer/InstallerLanguageDirectionTest.php
Installer step: Select language.
InstallerLanguagePageTest::setUpLanguage in core/modules/system/src/Tests/Installer/InstallerLanguagePageTest.php
Installer step: Select language.
InstallerTest::setUpLanguage in core/modules/system/src/Tests/Installer/InstallerTest.php
Installer step: Select language.

... See full list

File

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

Class

InstallerTestBase
Base class for testing the interactive installer.

Namespace

Drupal\simpletest

Code

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