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:
@@ -24,7 +24,7 @@ class CMDBSourceTest extends ItopTestCase
|
||||
{
|
||||
|
||||
parent::setUp();
|
||||
require_once(APPROOT.'/core/cmdbsource.class.inc.php');
|
||||
$this->RequireOnceItopFile('/core/cmdbsource.class.inc.php');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -31,7 +31,7 @@ class TransactionsTest extends ItopTestCase
|
||||
{
|
||||
parent::setUp();
|
||||
require_once('DeadLockInjection.php');
|
||||
require_once(APPROOT.'/core/cmdbsource.class.inc.php');
|
||||
$this->RequireOnceItopFile('/core/cmdbsource.class.inc.php');
|
||||
$sEnv = 'production';
|
||||
$sConfigFile = APPCONF.$sEnv.'/config-itop.php';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user