Skip to content

Commit

Permalink
MODTLR-5 remove redundant test
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-barannyk committed Jan 17, 2024
1 parent c67b1aa commit 11a8f06
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/test/java/org/folio/controller/EcsTlrControllerTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,4 @@ void ecsTlrShouldSuccessfullyBeCreated() {
assertEquals(CREATED, response.getStatusCode());
assertEquals(mockRequest, response.getBody());
}

@Test
void ecsTlrShouldReturnError() {
when(requestsService.post(any(EcsTlr.class))).thenThrow(new NullPointerException());

assertEquals(INTERNAL_SERVER_ERROR, requestsController.postEcsTlr(
new EcsTlr()).getStatusCode());
}
}

0 comments on commit 11a8f06

Please sign in to comment.