Skip to content

Commit

Permalink
ci(postman): Fix bluesnap refund status and folder rename to respect …
Browse files Browse the repository at this point in the history
…consecutive order (#2392)
  • Loading branch information
pixincreate authored Sep 30, 2023
1 parent 14fec5c commit d8a1bdd
Show file tree
Hide file tree
Showing 46 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ if (jsonData?.refund_id) {
// Response body should have value "succeeded" for "status"
if (jsonData?.status) {
pm.test(
"[POST]::/refunds - Content check if value for 'status' matches 'pending'",
"[POST]::/refunds - Content check if value for 'status' matches 'succeeded'",
function () {
pm.expect(jsonData.status).to.eql("pending");
pm.expect(jsonData.status).to.eql("succeeded");
},
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ if (jsonData?.refund_id) {
// Response body should have value "succeeded" for "status"
if (jsonData?.status) {
pm.test(
"[POST]::/refunds - Content check if value for 'status' matches 'pending'",
"[POST]::/refunds - Content check if value for 'status' matches 'succeeded'",
function () {
pm.expect(jsonData.status).to.eql("pending");
pm.expect(jsonData.status).to.eql("succeeded");
},
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ if (jsonData?.refund_id) {
// Response body should have value "succeeded" for "status"
if (jsonData?.status) {
pm.test(
"[POST]::/refunds - Content check if value for 'status' matches 'pending'",
"[POST]::/refunds - Content check if value for 'status' matches 'succeeded'",
function () {
pm.expect(jsonData.status).to.eql("pending");
pm.expect(jsonData.status).to.eql("succeeded");
},
);
}
Expand Down

0 comments on commit d8a1bdd

Please sign in to comment.