From 134695ff94434f35ec5d971aba0c441d5c919f76 Mon Sep 17 00:00:00 2001 From: Gabriel Felipe Soares Date: Tue, 26 Nov 2024 17:07:54 +0100 Subject: [PATCH] chore: fix unit test --- .../Service/ResourceTranslatableStatusHandlerTest.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/test/unit/models/classes/Translation/Service/ResourceTranslatableStatusHandlerTest.php b/test/unit/models/classes/Translation/Service/ResourceTranslatableStatusHandlerTest.php index 311d3dabe..37ca0d676 100644 --- a/test/unit/models/classes/Translation/Service/ResourceTranslatableStatusHandlerTest.php +++ b/test/unit/models/classes/Translation/Service/ResourceTranslatableStatusHandlerTest.php @@ -22,19 +22,11 @@ namespace oat\taoQtiTest\test\unit\models\classes\Translation\Service; -use core_kernel_classes_Class; -use core_kernel_classes_Property; use core_kernel_classes_Resource; use oat\generis\model\data\Ontology; use oat\tao\model\TaoOntology; -use oat\tao\model\Translation\Entity\ResourceCollection; use oat\tao\model\Translation\Entity\ResourceTranslatableStatus; -use oat\tao\model\Translation\Entity\ResourceTranslation; -use oat\tao\model\Translation\Query\ResourceTranslationQuery; -use oat\tao\model\Translation\Repository\ResourceTranslationRepository; use oat\taoQtiTest\models\Translation\Service\ResourceTranslatableStatusHandler; -use oat\taoQtiTest\models\Translation\Service\TestTranslator; -use oat\taoTests\models\TaoTestOntology; use PHPUnit\Framework\MockObject\MockObject; use PHPUnit\Framework\TestCase; use taoQtiTest_models_classes_QtiTestService; @@ -61,6 +53,7 @@ protected function setUp(): void $this->status = new ResourceTranslatableStatus( 'testUri', TaoOntology::CLASS_URI_TEST, + 'languageUri', true, true );