mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-01 11:06:50 +08:00
ci(postman): Modify confirm call to use client-secret instead of relying on API calls (#2127)
This commit is contained in:
@ -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",
|
||||
);
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user