You are here

protected function MultipleDistributionsProfileTest::setUpLanguage in Drupal 8

Same name and namespace in other branches
  1. 9 core/tests/Drupal/FunctionalTests/Installer/MultipleDistributionsProfileTest.php \Drupal\FunctionalTests\Installer\MultipleDistributionsProfileTest::setUpLanguage()

Installer step: Select language.

Overrides InstallerTestBase::setUpLanguage

File

core/tests/Drupal/FunctionalTests/Installer/MultipleDistributionsProfileTest.php, line 56

Class

MultipleDistributionsProfileTest
Tests multiple distribution profile support.

Namespace

Drupal\FunctionalTests\Installer

Code

protected function setUpLanguage() {

  // Verify that the distribution name appears.
  $this
    ->assertRaw('distribution_one');

  // Verify that the requested theme is used.
  $this
    ->assertRaw('bartik');

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