mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-25 11:38:44 +02:00
N°5608 - Use new ItopTestCase::RequireOnceXXX in unit tests
This commit is contained in:
@@ -12,8 +12,8 @@ abstract class AbstractDOMSanitizerTest extends ItopTestCase
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
require_once(APPROOT.'application/utils.inc.php');
|
||||
require_once(APPROOT.'core/htmlsanitizer.class.inc.php');
|
||||
$this->RequireOnceItopFile('application/utils.inc.php');
|
||||
$this->RequireOnceItopFile('core/htmlsanitizer.class.inc.php');
|
||||
}
|
||||
|
||||
protected function ReadTestFile($sFileToTest, $sFolderName)
|
||||
|
||||
Reference in New Issue
Block a user