From 79c24dfc964d3306ff679a28b3ff5428b4fa0895 Mon Sep 17 00:00:00 2001 From: Pierre Goiffon Date: Tue, 21 Nov 2023 09:20:11 +0100 Subject: [PATCH] =?UTF-8?q?N=C2=B06975=20Fix=20ItopCustomDatamodelTestCase?= =?UTF-8?q?=20removing=20symlinks=20flag=20(#574)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/BaseTestCase/ItopCustomDatamodelTestCase.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/php-unit-tests/src/BaseTestCase/ItopCustomDatamodelTestCase.php b/tests/php-unit-tests/src/BaseTestCase/ItopCustomDatamodelTestCase.php index 7ef5b612f..0d6be3d9a 100644 --- a/tests/php-unit-tests/src/BaseTestCase/ItopCustomDatamodelTestCase.php +++ b/tests/php-unit-tests/src/BaseTestCase/ItopCustomDatamodelTestCase.php @@ -11,7 +11,6 @@ use Combodo\iTop\Test\UnitTest\Hook\TestsRunStartHook; use Combodo\iTop\Test\UnitTest\Service\UnitTestRunTimeEnvironment; use Config; use Exception; -use IssueLog; use MetaModel; use SetupUtils; use utils; @@ -181,7 +180,7 @@ abstract class ItopCustomDatamodelTestCase extends ItopDataTestCase // - Compile env. based on the existing 'production' env. $oEnvironment = new UnitTestRunTimeEnvironment($sTestEnv); $oEnvironment->WriteConfigFileSafe($oTestConfig); - $oEnvironment->CompileFrom($sSourceEnv, false); + $oEnvironment->CompileFrom($sSourceEnv); // - Force re-creating a fresh DB CMDBSource::InitFromConfig($oTestConfig);