ci(postman): Modify confirm call to use client-secret instead of relying on API calls (#2127)

This commit is contained in:
Pa1NarK
2023-09-13 15:58:15 +05:30
committed by GitHub
parent bed8326597
commit a7a3f4f44b
4803 changed files with 73691 additions and 50564 deletions

View File

@ -1,9 +1,17 @@
// Validate status 2xx
pm.test("[DELETE]::/api_keys/:merchant_id/:api-key - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate status 2xx
pm.test(
"[DELETE]::/api_keys/:merchant_id/:api-key - Status code is 2xx",
function () {
pm.response.to.be.success;
},
);
// Validate if response header has matching content-type
pm.test("[DELETE]::/api_keys/:merchant_id/:api-key - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.include("application/json");
});
pm.test(
"[DELETE]::/api_keys/:merchant_id/:api-key - Content-Type is application/json",
function () {
pm.expect(pm.response.headers.get("Content-Type")).to.include(
"application/json",
);
},
);