Mercurial > hg > isophonics-drupal-site
comparison core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationQueryTest.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | c2387f117808 |
children |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
21 /** | 21 /** |
22 * {@inheritdoc} | 22 * {@inheritdoc} |
23 */ | 23 */ |
24 protected function visitInstaller() { | 24 protected function visitInstaller() { |
25 // Place a custom local translation in the translations directory. | 25 // Place a custom local translation in the translations directory. |
26 mkdir(\Drupal::root() . '/' . $this->siteDirectory . '/files/translations', 0777, TRUE); | 26 mkdir($this->root . '/' . $this->siteDirectory . '/files/translations', 0777, TRUE); |
27 file_put_contents(\Drupal::root() . '/' . $this->siteDirectory . '/files/translations/drupal-8.0.0.de.po', $this->getPo('de')); | 27 file_put_contents($this->root . '/' . $this->siteDirectory . '/files/translations/drupal-8.0.0.de.po', $this->getPo('de')); |
28 | 28 |
29 // The unrouted URL assembler does not exist at this point, so we build the | 29 // The unrouted URL assembler does not exist at this point, so we build the |
30 // URL ourselves. | 30 // URL ourselves. |
31 $this->drupalGet($GLOBALS['base_url'] . '/core/install.php' . '?langcode=' . $this->langcode); | 31 $this->drupalGet($GLOBALS['base_url'] . '/core/install.php' . '?langcode=' . $this->langcode); |
32 | 32 |