Skip to content

Commit

Permalink
unit tests added
Browse files Browse the repository at this point in the history
  • Loading branch information
aneesaHMCTS committed May 28, 2024
1 parent df8f113 commit 8fe15f3
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -115,9 +114,6 @@ class OrganisationInternalControllerTest {

private NewUserCreationRequest newUserCreationRequest;
private UserProfileFeignClient userProfileFeignClient;



private DeleteOrganisationResponse deleteOrganisationResponse;
HttpServletRequest httpRequest = mock(HttpServletRequest.class);

Expand All @@ -127,8 +123,6 @@ class OrganisationInternalControllerTest {
@InjectMocks
private OrganisationInternalControllerV2 organisationInternalControllerV2;



@BeforeEach
void setUp() throws Exception {
organisation = new Organisation("Org-Name", OrganisationStatus.PENDING, "sra-id",
Expand All @@ -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);
Expand Down

0 comments on commit 8fe15f3

Please sign in to comment.