X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2Fcore%2Fmodules%2Fsystem%2Fsrc%2FTests%2FInstaller%2FDistributionProfileTranslationQueryTest.php;fp=web%2Fcore%2Fmodules%2Fsystem%2Fsrc%2FTests%2FInstaller%2FDistributionProfileTranslationQueryTest.php;h=85b1e44ec43cab49b9922495b1cc70d19c40d717;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hp=1b6868351d2f172c282ac25f858c150ba10306bf;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0;p=yaffs-website diff --git a/web/core/modules/system/src/Tests/Installer/DistributionProfileTranslationQueryTest.php b/web/core/modules/system/src/Tests/Installer/DistributionProfileTranslationQueryTest.php index 1b6868351..85b1e44ec 100644 --- a/web/core/modules/system/src/Tests/Installer/DistributionProfileTranslationQueryTest.php +++ b/web/core/modules/system/src/Tests/Installer/DistributionProfileTranslationQueryTest.php @@ -64,6 +64,27 @@ class DistributionProfileTranslationQueryTest extends InstallerTestBase { // 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'); + } + + /** + * {@inheritdoc} + */ + protected function setUpLanguage() { + // This step is skipped, because the distribution profile uses a fixed + // language. + } + + /** + * {@inheritdoc} + */ + protected function setUpProfile() { + // This step is skipped, because there is a distribution profile. + } + + /** + * {@inheritdoc} + */ + protected function setUpSettings() { // The language should have been automatically detected, all following // screens should be translated already. $elements = $this->xpath('//input[@type="submit"]/@value'); @@ -80,21 +101,8 @@ class DistributionProfileTranslationQueryTest extends InstallerTestBase { $this->assertRaw($this->info['distribution']['install']['theme']); // Verify that the "Choose profile" step does not appear. $this->assertNoText('profile'); - } - /** - * {@inheritdoc} - */ - protected function setUpLanguage() { - // This step is skipped, because the distribution profile uses a fixed - // language. - } - - /** - * {@inheritdoc} - */ - protected function setUpProfile() { - // This step is skipped, because there is a distribution profile. + parent::setUpSettings(); } /**