mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
N°5608 - Use new ItopTestCase::RequireOnceXXX in unit tests
This commit is contained in:
@@ -44,9 +44,9 @@ class dictApcuTest extends ItopTestCase
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
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->RequireOnceItopFile('core'.DIRECTORY_SEPARATOR.'coreexception.class.inc.php');
|
||||
$this->RequireOnceItopFile('core'.DIRECTORY_SEPARATOR.'dict.class.inc.php');
|
||||
$this->RequireOnceItopFile('core'.DIRECTORY_SEPARATOR.'apc-service.class.inc.php');
|
||||
|
||||
$this->sEnvName = time();
|
||||
$_SESSION['itop_env'] = $this->sEnvName;
|
||||
|
||||
Reference in New Issue
Block a user