You are here

protected function DistributionProfileTranslationQueryTest::visitInstaller in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/FunctionalTests/Installer/DistributionProfileTranslationQueryTest.php \Drupal\FunctionalTests\Installer\DistributionProfileTranslationQueryTest::visitInstaller()
  2. 10 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\Installer

Code

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');
}