function InstallerExistingConfigNoSystemSiteTest::testConfigSync
Tests that profiles with no system.site do not work.
Overrides InstallerExistingConfigTestBase::testConfigSync
File
-
core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerExistingConfigNoSystemSiteTest.php, line 31
Class
- InstallerExistingConfigNoSystemSiteTest
- Testing installing from config without system.site.
Namespace
Drupal\FunctionalTests\InstallerCode
public function testConfigSync() {
$this->htmlOutput(NULL);
$this->assertSession()
->titleEquals('Configuration validation | Drupal');
$this->assertSession()
->pageTextContains('The configuration synchronization failed validation.');
$this->assertSession()
->pageTextContains('This import does not contain system.site configuration, so has been rejected.');
// Ensure there is no continuation button.
$this->assertSession()
->pageTextNotContains('Save and continue');
$this->assertSession()
->buttonNotExists('edit-submit');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.