protected function InstallerTestBase::setUpLanguage in Drupal 8
Same name in this branch
- 8 core/modules/simpletest/src/InstallerTestBase.php \Drupal\simpletest\InstallerTestBase::setUpLanguage()
- 8 core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php \Drupal\FunctionalTests\Installer\InstallerTestBase::setUpLanguage()
Installer step: Select language.
1 call to InstallerTestBase::setUpLanguage()
- 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 188
Class
- InstallerTestBase
- Base class for testing the interactive installer.
Namespace
Drupal\simpletestCode
protected function setUpLanguage() {
$edit = [
'langcode' => $this->langcode,
];
$this
->drupalPostForm(NULL, $edit, $this->translations['Save and continue']);
}