protected function MultipleDistributionsProfileTest::setUpLanguage in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/FunctionalTests/Installer/MultipleDistributionsProfileTest.php \Drupal\FunctionalTests\Installer\MultipleDistributionsProfileTest::setUpLanguage()
- 10 core/tests/Drupal/FunctionalTests/Installer/MultipleDistributionsProfileTest.php \Drupal\FunctionalTests\Installer\MultipleDistributionsProfileTest::setUpLanguage()
Installer step: Select language.
Overrides InstallerTestBase::setUpLanguage
See also
\Drupal\Core\Installer\Form\SelectLanguageForm
File
- core/
tests/ Drupal/ FunctionalTests/ Installer/ MultipleDistributionsProfileTest.php, line 56
Class
- MultipleDistributionsProfileTest
- Tests multiple distribution profile support.
Namespace
Drupal\FunctionalTests\InstallerCode
protected function setUpLanguage() {
// Verify that the distribution name appears.
$this
->assertSession()
->pageTextContains('distribution_one');
// Verify that the requested theme is used.
$this
->assertSession()
->responseContains('bartik');
// Verify that the "Choose profile" step does not appear.
$this
->assertSession()
->pageTextNotContains('profile');
parent::setUpLanguage();
}