Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

fix(connector): [Adyen] fix unit test (#1469)

Prasunna Soppa6e581c606042
diff --git a/crates/router/tests/connectors/adyen.rs b/crates/router/tests/connectors/adyen.rs
index 2084df1117..e90c974dc6 100644
--- a/crates/router/tests/connectors/adyen.rs
+++ b/crates/router/tests/connectors/adyen.rs
@@ -257,7 +257,7 @@ async fn should_make_payment() {
)
.await
.unwrap();
- assert_eq!(authorize_response.status, enums::AttemptStatus::Pending);
+ assert_eq!(authorize_response.status, enums::AttemptStatus::Charged);
}
// Refunds a payment using the automatic capture flow (Non 3DS).