You are here

protected function ThunderInstallerTest::setUpLanguage in Thunder 8.5

Same name and namespace in other branches
  1. 8.2 tests/src/Functional/Installer/ThunderInstallerTest.php \Drupal\Tests\thunder\Functional\Installer\ThunderInstallerTest::setUpLanguage()
  2. 8.3 tests/src/Functional/Installer/ThunderInstallerTest.php \Drupal\Tests\thunder\Functional\Installer\ThunderInstallerTest::setUpLanguage()
  3. 8.4 tests/src/Functional/Installer/ThunderInstallerTest.php \Drupal\Tests\thunder\Functional\Installer\ThunderInstallerTest::setUpLanguage()
  4. 6.2.x tests/src/Functional/Installer/ThunderInstallerTest.php \Drupal\Tests\thunder\Functional\Installer\ThunderInstallerTest::setUpLanguage()
  5. 6.0.x tests/src/Functional/Installer/ThunderInstallerTest.php \Drupal\Tests\thunder\Functional\Installer\ThunderInstallerTest::setUpLanguage()
  6. 6.1.x tests/src/Functional/Installer/ThunderInstallerTest.php \Drupal\Tests\thunder\Functional\Installer\ThunderInstallerTest::setUpLanguage()

Installer step: Select language.

Overrides InstallerTestBase::setUpLanguage

1 call to ThunderInstallerTest::setUpLanguage()
ThunderInstallerTest::setUp in tests/src/Functional/Installer/ThunderInstallerTest.php
1 method overrides ThunderInstallerTest::setUpLanguage()
ThunderInstallerGermanTest::setUpLanguage in tests/src/Functional/Installer/ThunderInstallerGermanTest.php
Installer step: Select language.

File

tests/src/Functional/Installer/ThunderInstallerTest.php, line 158

Class

ThunderInstallerTest
Tests the interactive installer installing the standard profile.

Namespace

Drupal\Tests\thunder\Functional\Installer

Code

protected function setUpLanguage() {

  // Verify that the distribution name appears.
  $this
    ->assertSession()
    ->responseContains('thunder');

  // Verify that the "Choose profile" step does not appear.
  $this
    ->assertSession()
    ->pageTextNotContains('Choose profile');
  parent::setUpLanguage();
}