diff --git a/tests/php-unit-tests/unitary-tests/application/ApplicationObjectExtensionTest.php b/tests/php-unit-tests/unitary-tests/application/ApplicationObjectExtensionTest.php index 2004a4ecd..ee781bcba 100644 --- a/tests/php-unit-tests/unitary-tests/application/ApplicationObjectExtensionTest.php +++ b/tests/php-unit-tests/unitary-tests/application/ApplicationObjectExtensionTest.php @@ -21,7 +21,7 @@ class ApplicationObjectExtensionTest extends \Combodo\iTop\Test\UnitTest\ItopDat { parent::setUp(); - require_once 'iApplicationObjectExtension/MockApplicationObjectExtensionForTest.php'; + $this->RequireOnceUnitTestFile('iApplicationObjectExtension/MockApplicationObjectExtensionForTest.php'); $this->ResetApplicationObjectExtensions(); // Count all the calls to this object MockApplicationObjectExtensionForTest::SetCallBack([ApplicationObjectExtensionTest::class, 'IncrementCallCount']); @@ -94,7 +94,7 @@ class ApplicationObjectExtensionTest extends \Combodo\iTop\Test\UnitTest\ItopDat public function testModificationsOnInsertWith2Extensions() { self::ResetCallCount(); - require_once 'iApplicationObjectExtension/MockApplicationObjectExtensionForTest2.php'; + $this->RequireOnceUnitTestFile('iApplicationObjectExtension/MockApplicationObjectExtensionForTest2.php'); $this->ResetApplicationObjectExtensions(); // Count all the calls to this object MockApplicationObjectExtensionForTest2::SetCallBack([ApplicationObjectExtensionTest::class, 'IncrementCallCount']); diff --git a/tests/php-unit-tests/unitary-tests/core/CRUDEventTest.php b/tests/php-unit-tests/unitary-tests/core/CRUDEventTest.php index d62cbbd46..95dc968db 100644 --- a/tests/php-unit-tests/unitary-tests/core/CRUDEventTest.php +++ b/tests/php-unit-tests/unitary-tests/core/CRUDEventTest.php @@ -284,8 +284,6 @@ class CRUDEventTest extends ItopDataTestCase */ public function testInfiniteUpdateDoneLoop() { - $this->markTestSkipped('TEST Skipped: Protection not working.'); - $oPerson = $this->CreatePerson(1); $this->assertIsObject($oPerson);