mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 02:28:44 +02:00
N°4660 - Fix data synchro unit test failure due to another test not restoring correct user permissions on conf file
This commit is contained in:
@@ -46,6 +46,7 @@ class iTopConfigParserTest extends ItopTestCase
|
||||
// restoring config that was in place before the test
|
||||
@chmod($this->sConfigPath, 0770); // RWX for owner and group, nothing for others : else we will have permission denied !
|
||||
rename($this->tmpSavePath, $this->sConfigPath);
|
||||
@chmod($this->sConfigPath, 0444);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user