From 8fe15f34a946eaa8ce974e814cab85cc5102008b Mon Sep 17 00:00:00 2001 From: aneesahmcts Date: Thu, 9 May 2024 13:49:20 +0100 Subject: [PATCH] unit tests added --- .../internal/OrganisationInternalControllerTest.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/test/java/uk/gov/hmcts/reform/professionalapi/controller/internal/OrganisationInternalControllerTest.java b/src/test/java/uk/gov/hmcts/reform/professionalapi/controller/internal/OrganisationInternalControllerTest.java index 9e3edbe2fe..426e05f912 100644 --- a/src/test/java/uk/gov/hmcts/reform/professionalapi/controller/internal/OrganisationInternalControllerTest.java +++ b/src/test/java/uk/gov/hmcts/reform/professionalapi/controller/internal/OrganisationInternalControllerTest.java @@ -77,7 +77,6 @@ import static uk.gov.hmcts.reform.professionalapi.controller.constants.ProfessionalApiConstants.ORG_NAME; import static uk.gov.hmcts.reform.professionalapi.controller.constants.ProfessionalApiConstants.ORG_STATUS; - @ExtendWith(MockitoExtension.class) @SuppressWarnings("checkstyle:AbbreviationAsWordInName") class OrganisationInternalControllerTest { @@ -115,9 +114,6 @@ class OrganisationInternalControllerTest { private NewUserCreationRequest newUserCreationRequest; private UserProfileFeignClient userProfileFeignClient; - - - private DeleteOrganisationResponse deleteOrganisationResponse; HttpServletRequest httpRequest = mock(HttpServletRequest.class); @@ -127,8 +123,6 @@ class OrganisationInternalControllerTest { @InjectMocks private OrganisationInternalControllerV2 organisationInternalControllerV2; - - @BeforeEach void setUp() throws Exception { organisation = new Organisation("Org-Name", OrganisationStatus.PENDING, "sra-id", @@ -146,7 +140,6 @@ void setUp() throws Exception { new OrganisationEntityResponse(organisation, false, true, true); organisationServiceMock = mock(OrganisationService.class); - //organisationIdentifierValidatorImplMock = mock(OrganisationIdentifierValidatorImpl.class); professionalUserServiceMock = mock(ProfessionalUserService.class); paymentAccountServiceMock = mock(PaymentAccountService.class); organisationCreationRequestValidatorMock = mock(OrganisationCreationRequestValidator.class);