Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

Commit

Permalink
Added postman test for delete terminal
Browse files Browse the repository at this point in the history
  • Loading branch information
RiccardoGiuliani committed May 10, 2024
1 parent 779d2b4 commit dc4b78c
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions src/test/postman/mil-terminal-registry.postman_collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,46 @@
"description": "Returns a page of terminals"
},
"response": []
},
{
"name": "Delete Terminal",
"event": [
{
"listen": "test",
"script": {
"exec": [
"pm.test(\"Status code is 204\", function () {",
" pm.response.to.have.status(204);",
"});",
""
],
"type": "text/javascript",
"packages": {}
}
}
],
"request": {
"method": "DELETE",
"header": [
{
"key": "RequestId",
"value": "{{requestId}}",
"description": "(Required) Request Id that will be logged by services"
}
],
"url": {
"raw": "{{MIL_TR_BASE_URL}}/terminals/{{terminalUuid}}",
"host": [
"{{MIL_TR_BASE_URL}}"
],
"path": [
"terminals",
"{{terminalUuid}}"
]
},
"description": "Returns a page of terminals"
},
"response": []
}
],
"auth": {
Expand Down

0 comments on commit dc4b78c

Please sign in to comment.