InstallerExistingConfigTest.php 769 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. namespace Drupal\FunctionalTests\Installer;
  3. /**
  4. * Verifies that installing from existing configuration works.
  5. *
  6. * @group Installer
  7. */
  8. class InstallerExistingConfigTest extends InstallerExistingConfigTestBase {
  9. /**
  10. * {@inheritdoc}
  11. */
  12. public function setUpSite() {
  13. // The configuration is from a site installed in French.
  14. // So after selecting the profile the installer detects that the site must
  15. // be installed in French, thus we change the button translation.
  16. $this->translations['Save and continue'] = 'Enregistrer et continuer';
  17. parent::setUpSite();
  18. }
  19. /**
  20. * {@inheritdoc}
  21. */
  22. protected function getConfigTarball() {
  23. return __DIR__ . '/../../../fixtures/config_install/testing_config_install.tar.gz';
  24. }
  25. }