From 88e287a8b14cff9fb10e7814187800e6a12cb165 Mon Sep 17 00:00:00 2001 From: sofyenne Date: Thu, 7 Sep 2023 14:16:20 +0100 Subject: [PATCH] update UT --- .../api/IDMExternalStoreImportServiceTest.java | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/exo.core.component.organization.api/src/test/java/org/exoplatform/services/organization/api/IDMExternalStoreImportServiceTest.java b/exo.core.component.organization.api/src/test/java/org/exoplatform/services/organization/api/IDMExternalStoreImportServiceTest.java index a55b16a4..7876c1fd 100644 --- a/exo.core.component.organization.api/src/test/java/org/exoplatform/services/organization/api/IDMExternalStoreImportServiceTest.java +++ b/exo.core.component.organization.api/src/test/java/org/exoplatform/services/organization/api/IDMExternalStoreImportServiceTest.java @@ -38,9 +38,7 @@ import org.exoplatform.services.organization.UserProfileHandler; import org.exoplatform.services.organization.externalstore.IDMExternalStoreImportService; import org.exoplatform.services.organization.externalstore.IDMExternalStoreService; -import org.exoplatform.services.organization.externalstore.IDMQueueService; import org.exoplatform.services.organization.externalstore.model.IDMEntityType; -import org.exoplatform.services.scheduler.JobSchedulerService; @RunWith(MockitoJUnitRunner.class) public class IDMExternalStoreImportServiceTest { @@ -48,10 +46,6 @@ public class IDMExternalStoreImportServiceTest { @Mock ExoContainer container; @Mock - JobSchedulerService jobSchedulerService; - @Mock - IDMQueueService idmQueueService; - @Mock InitParams initParams; @Mock private OrganizationService organizationService; @@ -67,8 +61,8 @@ public void setUp() { organizationService, listenerService, idmExternalStoreService, - jobSchedulerService, - idmQueueService, + null, + null, initParams); }