protected function InstallerTest::setUpLanguage in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/system/src/Tests/Installer/InstallerTest.php \Drupal\system\Tests\Installer\InstallerTest::setUpLanguage()
Installer step: Select language.
Overrides InstallerTestBase::setUpLanguage
File
- core/
modules/ system/ src/ Tests/ Installer/ InstallerTest.php, line 38 - Contains \Drupal\system\Tests\Installer\InstallerTest.
Class
- InstallerTest
- Tests the interactive installer.
Namespace
Drupal\system\Tests\InstallerCode
protected function setUpLanguage() {
// Test that \Drupal\Core\Render\BareHtmlPageRenderer adds assets and
// metatags as expected to the first page of the installer.
$this
->assertRaw('core/themes/seven/css/components/buttons.css');
$this
->assertRaw('<meta charset="utf-8" />');
// Assert that the expected title is present.
$this
->assertEqual('Choose language', $this
->cssSelect('main h1')[0]);
parent::setUpLanguage();
}