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

ci(postman): Fixed adyen assertion failure (#3030)

likhinbopanna00b58a99c819
diff --git a/postman/collection-dir/adyen_uk/Flow Testcases/Variation Cases/Scenario8-Refund for unsuccessful payment/Refunds - Create/event.test.js b/postman/collection-dir/adyen_uk/Flow Testcases/Variation Cases/Scenario8-Refund for unsuccessful payment/Refunds - Create/event.test.js
index 6731d57fb6..b88beefec2 100644
--- a/postman/collection-dir/adyen_uk/Flow Testcases/Variation Cases/Scenario8-Refund for unsuccessful payment/Refunds - Create/event.test.js
+++ b/postman/collection-dir/adyen_uk/Flow Testcases/Variation Cases/Scenario8-Refund for unsuccessful payment/Refunds - Create/event.test.js
@@ -50,10 +50,10 @@ if (jsonData?.error?.type) {
// Response body should have value "invalid_request" for "error type"
if (jsonData?.error?.message) {
pm.test(
- "[POST]::/payments - Content check if value for 'error.message' matches 'The payment has not succeeded yet. Please pass a successful payment to initiate refund'",
+ "[POST]::/payments - Content check if value for 'error.message' matches 'This Payment could not be refund because it has a status of requires_confirmation. The expected state is succeeded, partially_captured'",
function () {
pm.expect(jsonData.error.message).to.eql(
- "The payment has not succeeded yet. Please pass a successful payment to initiate refund",
+ "This Payment could not be refund because it has a status of requires_confirmation. The expected state is succeeded, partially_captured",
);
},
);