Skip to content

Commit

Permalink
Update payment contexts properties and fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
armando-rodriguez-cko committed Nov 21, 2024
1 parent 950ca4d commit 642607a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
@AllArgsConstructor
public final class PaymentContextsAirlineData {

private List<PaymentContextsTicket> ticket;
private PaymentContextsTicket ticket;

private List<PaymentContextsPassenger> passenger;

Expand Down
17 changes: 0 additions & 17 deletions src/test/java/com/checkout/payments/RequestApmPaymentsIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -478,23 +478,6 @@ void shouldMakeAlmaPayment() {
checkErrorItem(() -> paymentsClient.requestPayment(paymentRequest), PAYEE_NOT_ONBOARDED);
}

@Test
@Disabled("not available")
void shouldMakeKlarnaPayment() {
final PaymentRequest paymentRequest = PaymentRequest.builder()
.source(RequestKlarnaSource.builder()
.accountHolder(TestHelper.getAccountHolder())
.build())
.currency(Currency.EUR)
.amount(10L)
.capture(true)
.successUrl("https://testing.checkout.com/sucess")
.failureUrl("https://testing.checkout.com/failure")
.build();

checkErrorItem(() -> paymentsClient.requestPayment(paymentRequest), APM_SERVICE_UNAVAILABLE);
}

@Test
void shouldMakeFawryPayment() {
final PaymentRequest paymentRequest = PaymentRequest.builder()
Expand Down

0 comments on commit 642607a

Please sign in to comment.