diff core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigTest.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigTest.php	Thu Feb 28 13:21:36 2019 +0000
@@ -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';
+  }
+
+}