Mercurial > hg > isophonics-drupal-site
comparison core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryMultilingualTest.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 |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
1 <?php | |
2 | |
3 namespace Drupal\FunctionalTests\Installer; | |
4 | |
5 /** | |
6 * Verifies that installing from existing configuration works. | |
7 * | |
8 * @group Installer | |
9 */ | |
10 class InstallerExistingConfigSyncDirectoryMultilingualTest extends InstallerExistingConfigTestBase { | |
11 | |
12 /** | |
13 * {@inheritdoc} | |
14 */ | |
15 protected $profile = 'testing_config_install_multilingual'; | |
16 | |
17 /** | |
18 * {@inheritdoc} | |
19 */ | |
20 protected $existingSyncDirectory = TRUE; | |
21 | |
22 /** | |
23 * Installer step: Select installation profile. | |
24 */ | |
25 protected function setUpProfile() { | |
26 // Ensure the site name 'Multilingual' appears as expected in the 'Use | |
27 // existing configuration' radio description. | |
28 $this->assertSession()->pageTextContains('Install Multilingual using existing configuration.'); | |
29 return parent::setUpProfile(); | |
30 } | |
31 | |
32 /** | |
33 * {@inheritdoc} | |
34 */ | |
35 protected function getConfigTarball() { | |
36 return __DIR__ . '/../../../fixtures/config_install/multilingual.tar.gz'; | |
37 } | |
38 | |
39 /** | |
40 * Confirms that the installation installed the configuration correctly. | |
41 */ | |
42 public function testConfigSync() { | |
43 parent::testConfigSync(); | |
44 // Ensure that menu blocks have been created correctly. | |
45 $this->assertSession()->responseNotContains('This block is broken or missing.'); | |
46 $this->assertSession()->linkExists('Add content'); | |
47 } | |
48 | |
49 } |