Commit 7bca5f60 authored by catch's avatar catch
Browse files

Issue #3217712 by sudiptadas19, mondrake: Replace usages of...

Issue #3217712 by sudiptadas19, mondrake: Replace usages of assertDirectoryNotIsWritable(), that is deprecated
parent 30594448
......@@ -81,7 +81,7 @@ public function testSitesDirectoryHardeningConfig() {
// Verify that site directory and the settings.php remain protected when
// automatically enforcing file permissions is enabled.
$this->assertDirectoryNotIsWritable($site_path);
$this->assertDirectoryIsNotWritable($site_path);
$this->assertFileNotIsWritable($settings_file);
}
......
......@@ -106,7 +106,7 @@ protected function setUpSite() {
// Test that SiteConfigureForm::buildForm() has made the site directory and
// the settings file non-writable.
$site_directory = $this->container->getParameter('app.root') . '/' . $this->siteDirectory;
$this->assertDirectoryNotIsWritable($site_directory);
$this->assertDirectoryIsNotWritable($site_directory);
$this->assertFileNotIsWritable($site_directory . '/settings.php');
parent::setUpSite();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment