mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 11:08:45 +02:00
N°4125 - fix tests under windows (again)
This commit is contained in:
@@ -49,7 +49,7 @@ class dictApcuTest extends ItopTestCase
|
||||
require_once (APPROOT.'core' . DIRECTORY_SEPARATOR . 'dict.class.inc.php');
|
||||
require_once (APPROOT.'core' . DIRECTORY_SEPARATOR . 'apc-service.class.inc.php');
|
||||
|
||||
$this->sEnvName = date("c");
|
||||
$this->sEnvName = time();
|
||||
$_SESSION['itop_env'] = $this->sEnvName;
|
||||
|
||||
$this->oApcService = $this->createMock(\ApcService::class);
|
||||
|
||||
@@ -45,7 +45,7 @@ class dictTest extends ItopTestCase
|
||||
require_once (APPROOT.'core'. DIRECTORY_SEPARATOR . 'coreexception.class.inc.php');
|
||||
require_once (APPROOT.'core'. DIRECTORY_SEPARATOR . 'dict.class.inc.php');
|
||||
require_once (APPROOT.'core'. DIRECTORY_SEPARATOR . 'apc-service.class.inc.php');
|
||||
$this->sEnvName = date("c");
|
||||
$this->sEnvName = time();
|
||||
$sDictionaryFolder = APPROOT."env-$this->sEnvName" . DIRECTORY_SEPARATOR . "dictionaries";
|
||||
@mkdir($sDictionaryFolder, 0777, true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user