Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonardoPalmeiro committed Jan 31, 2025
1 parent 6141f07 commit 4dfe6fb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class FeesPaymentControllerTest extends BaseIntegrationTest {
private static final CardPaymentServiceRequestDTO CARD_PAYMENT_SERVICE_REQUEST
= CardPaymentServiceRequestDTO.builder()
.returnUrl("http://localhost:3001/general-application/payment-confirmation/1701090368574910/gaid/2801090368574910")
.language("En")
.language("en")
.amount(new BigDecimal("232.00")).currency("GBP").build();

@MockBean
Expand Down Expand Up @@ -76,7 +76,7 @@ void shouldCreateGovPayPaymentUrlForServiceRequestPayment() {
CARD_PAYMENT_SERVICE_REQUEST
)).thenReturn(response);

doPost(BEARER_TOKEN, "", FEES_PAYMENT_REQUEST_URL, "2801090368574910")
doPost(BEARER_TOKEN, "", FEES_PAYMENT_REQUEST_URL, "2801090368574910", "en")
.andExpect(content().json(toJson(CardPaymentStatusResponse.from(response))))
.andExpect(status().isOk());
}
Expand Down

0 comments on commit 4dfe6fb

Please sign in to comment.