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:
Molkobain
2023-01-11 13:41:01 +01:00
parent 16390c9b00
commit c4508ea80c

View File

@@ -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);
}
}