You are here

protected function InstallerTestBase::setUpLanguage in SimpleTest 8.3

Installer step: Select language.

1 call to InstallerTestBase::setUpLanguage()
InstallerTestBase::setUp in src/InstallerTestBase.php
Sets up a Drupal site for running functional and integration tests.

File

src/InstallerTestBase.php, line 188

Class

InstallerTestBase
Base class for testing the interactive installer.

Namespace

Drupal\simpletest

Code

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