mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 02:28:44 +02:00
✅ N°4660 Fix OQLTest
This commit is contained in:
@@ -38,11 +38,12 @@ class OQLTest extends ItopDataTestCase
|
||||
*/
|
||||
public function testOQLSetup()
|
||||
{
|
||||
utils::GetConfig()->Set('apc_cache.enabled', false, 'test');
|
||||
utils::GetConfig()->Set('query_cache_enabled', false, 'test');
|
||||
utils::GetConfig()->Set('expression_cache_enabled', false, 'test');
|
||||
$oConfig = utils::GetConfig();
|
||||
$oConfig->Set('apc_cache.enabled', false, 'test');
|
||||
$oConfig->Set('query_cache_enabled', false, 'test');
|
||||
$oConfig->Set('expression_cache_enabled', false, 'test');
|
||||
|
||||
$sConfigFile = utils::GetConfig()->GetLoadedFile();
|
||||
$sConfigFile = $oConfig->GetLoadedFile();
|
||||
@chmod($sConfigFile, 0770);
|
||||
$oConfig->WriteToFile();
|
||||
@chmod($sConfigFile, 0444);
|
||||
|
||||
Reference in New Issue
Block a user