Commit 207e8275 authored by catch's avatar catch
Browse files

Issue #3217713 by guilhermevp, vsujeetkumar, mondrake, sudiptadas19,...

Issue #3217713 by guilhermevp, vsujeetkumar, mondrake, sudiptadas19, vikashsoni: Replace usages of assertFileNotIsWritable(), that is deprecated
parent 46444c63
......@@ -82,7 +82,7 @@ public function testSitesDirectoryHardeningConfig() {
// Verify that site directory and the settings.php remain protected when
// automatically enforcing file permissions is enabled.
$this->assertDirectoryIsNotWritable($site_path);
$this->assertFileNotIsWritable($settings_file);
$this->assertFileIsNotWritable($settings_file);
}
/**
......
......@@ -107,7 +107,7 @@ protected function setUpSite() {
// the settings file non-writable.
$site_directory = $this->container->getParameter('app.root') . '/' . $this->siteDirectory;
$this->assertDirectoryIsNotWritable($site_directory);
$this->assertFileNotIsWritable($site_directory . '/settings.php');
$this->assertFileIsNotWritable($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