Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / tests / Drupal / FunctionalTests / Installer / InstallerExistingConfigTest.php
diff --git a/web/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigTest.php b/web/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigTest.php
new file mode 100644 (file)
index 0000000..ebf4c2a
--- /dev/null
@@ -0,0 +1,30 @@
+<?php
+
+namespace Drupal\FunctionalTests\Installer;
+
+/**
+ * Verifies that installing from existing configuration works.
+ *
+ * @group Installer
+ */
+class InstallerExistingConfigTest extends InstallerExistingConfigTestBase {
+
+  /**
+   * {@inheritdoc}
+   */
+  public function setUpSite() {
+    // The configuration is from a site installed in French.
+    // So after selecting the profile the installer detects that the site must
+    // be installed in French, thus we change the button translation.
+    $this->translations['Save and continue'] = 'Enregistrer et continuer';
+    parent::setUpSite();
+  }
+
+  /**
+   * {@inheritdoc}
+   */
+  protected function getConfigTarball() {
+    return __DIR__ . '/../../../fixtures/config_install/testing_config_install.tar.gz';
+  }
+
+}