N°5608 - Use new ItopTestCase::RequireOnceXXX in unit tests

This commit is contained in:
Molkobain
2023-01-06 18:22:52 +01:00
parent 6a7dbb06b0
commit 36f8e58e25
33 changed files with 57 additions and 57 deletions

View File

@@ -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');
}

View File

@@ -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');
}