diff core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageForeignTest.php @ 16:c2387f117808

Routine composer update
author Chris Cannam
date Tue, 10 Jul 2018 15:07:59 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageForeignTest.php	Tue Jul 10 15:07:59 2018 +0100
@@ -0,0 +1,27 @@
+<?php
+
+namespace Drupal\FunctionalTests\Installer;
+
+/**
+ * Tests translation files for multiple languages get imported during install.
+ *
+ * @group Installer
+ */
+class InstallerTranslationMultipleLanguageForeignTest extends InstallerTranslationMultipleLanguageTest {
+
+  /**
+   * Overrides the language code in which to install Drupal.
+   *
+   * @var string
+   */
+  protected $langcode = 'de';
+
+  /**
+   * {@inheritdoc}
+   */
+  protected function setUpLanguage() {
+    parent::setUpLanguage();
+    $this->translations['Save and continue'] = 'Save and continue de';
+  }
+
+}