3 namespace Drupal\FunctionalTests\Installer;
6 * Verifies that profiles invalid config can not be installed.
10 class InstallerExistingConfigNoConfigTest extends InstallerExistingConfigTestBase {
12 protected $profile = 'no_config_profile';
15 * Final installer step: Configure site.
17 protected function setUpSite() {
18 // There are errors therefore there is nothing to do here.
25 protected function getConfigTarball() {
26 return __DIR__ . '/../../../fixtures/config_install/testing_config_install_no_config.tar.gz';
30 * Tests that profiles with an empty config/sync directory do not work.
32 public function testConfigSync() {
33 $this->assertTitle('Configuration validation | Drupal');
34 $this->assertText('The configuration synchronization failed validation.');
35 $this->assertText('This import is empty and if applied would delete all of your configuration, so has been rejected.');
37 // Ensure there is no continuation button.
38 $this->assertNoText('Save and continue');
39 $this->assertNoFieldById('edit-submit');