Skip to content

Commit

Permalink
Fix test failures through renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
daveajlee committed Apr 16, 2023
1 parent 8d2e148 commit 143500b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public void testValidGetByCompany() {
.priceList(Map.of("adult", new BigDecimal("0.80")))
.build()));
//Perform test
ResponseEntity<TicketsResponse> responseEntity = ticketsController.getFeedbacksByCompany("Mustermann GmbH");
ResponseEntity<TicketsResponse> responseEntity = ticketsController.getTicketsByCompany("Mustermann GmbH");
assertTrue(responseEntity.getStatusCodeValue() == HttpStatus.OK.value());
}

Expand All @@ -60,7 +60,7 @@ public void testValidGetByCompany() {
@Test
public void testInvalidGetByCompany() {
//Perform test
ResponseEntity<TicketsResponse> responseEntity = ticketsController.getFeedbacksByCompany("");
ResponseEntity<TicketsResponse> responseEntity = ticketsController.getTicketsByCompany("");
assertTrue(responseEntity.getStatusCodeValue() == HttpStatus.BAD_REQUEST.value());
}

Expand Down

0 comments on commit 143500b

Please sign in to comment.