You are here

protected function DistributionProfileTest::setUpLanguage in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/src/Tests/Installer/DistributionProfileTest.php \Drupal\system\Tests\Installer\DistributionProfileTest::setUpLanguage()

Installer step: Select language.

Overrides InstallerTestBase::setUpLanguage

File

core/modules/system/src/Tests/Installer/DistributionProfileTest.php, line 50
Contains \Drupal\system\Tests\Installer\DistributionProfileTest.

Class

DistributionProfileTest
Tests distribution profile support.

Namespace

Drupal\system\Tests\Installer

Code

protected function setUpLanguage() {

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

  // Verify that the requested theme is used.
  $this
    ->assertRaw($this->info['distribution']['install']['theme']);

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