From 9e1ed8c8d89d701aac0694a2639533c7232ee26c Mon Sep 17 00:00:00 2001 From: asha15 <165079T@uom.lk> Date: Sun, 13 Oct 2024 14:33:55 +0530 Subject: [PATCH] Remove addtional lines --- .../listener/FragmentApplicationMgtListenerTest.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/components/org.wso2.carbon.identity.organization.management.application/src/test/java/org/wso2/carbon/identity/organization/management/application/listener/FragmentApplicationMgtListenerTest.java b/components/org.wso2.carbon.identity.organization.management.application/src/test/java/org/wso2/carbon/identity/organization/management/application/listener/FragmentApplicationMgtListenerTest.java index 0ad122eb6..0daa89994 100644 --- a/components/org.wso2.carbon.identity.organization.management.application/src/test/java/org/wso2/carbon/identity/organization/management/application/listener/FragmentApplicationMgtListenerTest.java +++ b/components/org.wso2.carbon.identity.organization.management.application/src/test/java/org/wso2/carbon/identity/organization/management/application/listener/FragmentApplicationMgtListenerTest.java @@ -69,7 +69,6 @@ public void setUp() { MockitoAnnotations.openMocks(this); serviceProvider = mock(ServiceProvider.class); OrgApplicationMgtDataHolder.getInstance().setOrganizationManager(organizationManager); - mockedUtilities = Mockito.mockStatic(IdentityTenantUtil.class, Mockito.withSettings() .defaultAnswer(Mockito.CALLS_REAL_METHODS)); } @@ -127,7 +126,6 @@ public void testCreateApplicationInPrimaryOrg() public void testInheritDiscoverabilityProperty() throws Exception { ServiceProvider mainApplication = mock(ServiceProvider.class); - when(mainApplication.isDiscoverable()).thenReturn(true); when(serviceProvider.isDiscoverable()).thenReturn(false); Method method = fragmentApplicationMgtListener.getClass()