mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-30 14:08:46 +02:00
N°5608 - Use new ItopTestCase::RequireOnceXXX in unit tests
This commit is contained in:
@@ -25,8 +25,8 @@ class UserLocalTest extends ItopDataTestCase
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
require_once(APPROOT.'tests/php-unit-tests/unitary-tests/datamodels/2.x/authent-local/UserLocalTest/UserLocalPasswordPolicyMock.php');
|
||||
require_once(APPROOT.'env-production/authent-local/model.authent-local.php');
|
||||
$this->RequireOnceUnitTestFile('./UserLocalTest/UserLocalPasswordPolicyMock.php');
|
||||
$this->RequireOnceItopFile('env-production/authent-local/model.authent-local.php');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -19,8 +19,8 @@ class iTopConfigAstValidatorTest extends ItopTestCase
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
require_once APPROOT.'env-production/itop-config/src/Validator/ConfigNodesVisitor.php';
|
||||
require_once APPROOT.'env-production/itop-config/src/Validator/iTopConfigAstValidator.php';
|
||||
$this->RequireOnceItopFile('env-production/itop-config/src/Validator/ConfigNodesVisitor.php');
|
||||
$this->RequireOnceItopFile('env-production/itop-config/src/Validator/iTopConfigAstValidator.php');
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -20,8 +20,8 @@ class iTopConfigSyntaxValidatorTest extends ItopTestCase
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
require_once APPROOT.'env-production/itop-config/src/Validator/ConfigNodesVisitor.php';
|
||||
require_once APPROOT.'env-production/itop-config/src/Validator/iTopConfigSyntaxValidator.php';
|
||||
$this->RequireOnceItopFile('env-production/itop-config/src/Validator/ConfigNodesVisitor.php');
|
||||
$this->RequireOnceItopFile('env-production/itop-config/src/Validator/iTopConfigSyntaxValidator.php');
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user