function InstallerConfigDirectorySetNoDirectoryErrorTest::testError
Same name and namespace in other branches
- 9 core/tests/Drupal/FunctionalTests/Installer/InstallerConfigDirectorySetNoDirectoryErrorTest.php \Drupal\FunctionalTests\Installer\InstallerConfigDirectorySetNoDirectoryErrorTest::testError()
- 10 core/tests/Drupal/FunctionalTests/Installer/InstallerConfigDirectorySetNoDirectoryErrorTest.php \Drupal\FunctionalTests\Installer\InstallerConfigDirectorySetNoDirectoryErrorTest::testError()
- 11.x core/tests/Drupal/FunctionalTests/Installer/InstallerConfigDirectorySetNoDirectoryErrorTest.php \Drupal\FunctionalTests\Installer\InstallerConfigDirectorySetNoDirectoryErrorTest::testError()
Verifies that installation failed.
File
-
core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerConfigDirectorySetNoDirectoryErrorTest.php, line 61
Class
- InstallerConfigDirectorySetNoDirectoryErrorTest
- Tests the installer when a config_directory set up but does not exist.
Namespace
Drupal\FunctionalTests\InstallerCode
public function testError() {
$this->assertText("An automated attempt to create the directory {$this->configDirectory}/sync failed, possibly due to a permissions problem.");
$this->assertDirectoryNotExists($this->configDirectory . '/sync');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.