Skip to content

Commit

Permalink
Added delete request preventing cleanup of other test data.
Browse files Browse the repository at this point in the history
  • Loading branch information
gmcelhanon committed Oct 9, 2024
1 parent 8acc56b commit 11e1694
Showing 1 changed file with 72 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9109,6 +9109,78 @@
{
"name": "Teardown",
"item": [
{
"name": "Delete DisciplineAction for 001",
"event": [
{
"listen": "test",
"script": {
"exec": [
"pm.test(\"Response is 204\", () => {\r",
" pm.expect(pm.response.code).to.equal(204); \r",
"});\r",
""
],
"type": "text/javascript",
"packages": {}
}
}
],
"request": {
"method": "DELETE",
"header": [],
"url": {
"raw": "{{ApiBaseUrl}}/data/v3/ed-fi/disciplineActions/{{known:disciplineAction:001:id}}",
"host": [
"{{ApiBaseUrl}}"
],
"path": [
"data",
"v3",
"ed-fi",
"disciplineActions",
"{{known:disciplineAction:001:id}}"
]
}
},
"response": []
},
{
"name": "Delete DisciplineAction for 044",
"event": [
{
"listen": "test",
"script": {
"exec": [
"pm.test(\"Response is 204\", () => {\r",
" pm.expect(pm.response.code).to.equal(204); \r",
"});\r",
""
],
"type": "text/javascript",
"packages": {}
}
}
],
"request": {
"method": "DELETE",
"header": [],
"url": {
"raw": "{{ApiBaseUrl}}/data/v3/ed-fi/disciplineActions/{{known:disciplineAction:044:id}}",
"host": [
"{{ApiBaseUrl}}"
],
"path": [
"data",
"v3",
"ed-fi",
"disciplineActions",
"{{known:disciplineAction:044:id}}"
]
}
},
"response": []
},
{
"name": "Delete studentDisciplineIncidentAssociation for 044",
"event": [
Expand Down

0 comments on commit 11e1694

Please sign in to comment.