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
Rust adyenbeginner-friendlyfeaturedfinancefintechhacktoberfesthigh-performanceopen-sourceorchestrationpaymentpayment-gatewaypayment-integrationpayment-processingpaymentspayments-platformrestful-apirustsdkstripeworks-with-react
fix(cypress): accept 422 status for invalid currency in forex convert tests (#13262)
venkatakarthikm-maker2cde77444ced
diff --git a/cypress-tests/cypress/support/commands.js b/cypress-tests/cypress/support/commands.jsindex 5fe867b66d..c9c61c9103 100644--- a/cypress-tests/cypress/support/commands.js+++ b/cypress-tests/cypress/support/commands.js@@ -10478,7 +10478,7 @@ Cypress.Commands.add("cli_log",`Converted ${amount} ${fromCurrency} → ${response.body.converted_amount} ${response.body.currency}`);- } else if (response.status === 400) {+ } else if (response.status === 400 || response.status === 422) {expect(response.body).to.exist;} else {throw new Error(