mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-27 04:28:44 +02:00
N°5608 - Use new ItopTestCase::RequireOnceXXX in unit tests
This commit is contained in:
@@ -15,7 +15,7 @@ class TwigTest extends ItopDataTestCase
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
require_once __DIR__.'/../../core/config.class.inc.php';
|
||||
$this->RequireOnceItopFile('core/config.class.inc.php');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -43,6 +43,7 @@ class TwigTest extends ItopDataTestCase
|
||||
{
|
||||
$oTwig->addFunction($oFunction);
|
||||
}
|
||||
}
|
||||
|
||||
public static function testTemplateProvider()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user