function MultipleDistributionsProfileTest::setUpLanguage
Same name in other branches
- 8.9.x 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()
- 11.x core/tests/Drupal/FunctionalTests/Installer/MultipleDistributionsProfileTest.php \Drupal\FunctionalTests\Installer\MultipleDistributionsProfileTest::setUpLanguage()
Overrides InstallerTestBase::setUpLanguage
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('claro');
// Verify that the "Choose profile" step does not appear.
$this->assertSession()
->pageTextNotContains('profile');
parent::setUpLanguage();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.