protected function DistributionProfileTranslationQueryTest::visitInstaller in Drupal 8
Same name and namespace in other branches
- 9 core/tests/Drupal/FunctionalTests/Installer/DistributionProfileTranslationQueryTest.php \Drupal\FunctionalTests\Installer\DistributionProfileTranslationQueryTest::visitInstaller()
Visits the interactive installer.
Overrides InstallerTestBase::visitInstaller
File
- core/
tests/ Drupal/ FunctionalTests/ Installer/ DistributionProfileTranslationQueryTest.php, line 63
Class
- DistributionProfileTranslationQueryTest
- Tests distribution profile support with a 'langcode' query string.
Namespace
Drupal\FunctionalTests\InstallerCode
protected function visitInstaller() {
// Pass a different language code than the one set in the distribution
// profile. This distribution language should still be used.
// The unrouted URL assembler does not exist at this point, so we build the
// URL ourselves.
$this
->drupalGet($GLOBALS['base_url'] . '/core/install.php' . '?langcode=fr');
}