Skip to content

Commit

Permalink
fix(connector): fix adyen unit test (#931)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArjunKarthik authored Apr 20, 2023
1 parent 9c9c52f commit afeb831
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions crates/router/tests/connectors/adyen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -417,10 +417,7 @@ async fn should_fail_payment_for_invalid_exp_month() {
)
.await
.unwrap();
assert_eq!(
response.response.unwrap_err().message,
"The provided Expiry Date is not valid.: Expiry month should be between 1 and 12 inclusive: 20",
);
assert_eq!(response.response.unwrap_err().message, "Refused",);
}

// Creates a payment with incorrect expiry year.
Expand Down

0 comments on commit afeb831

Please sign in to comment.