Skip to content

Commit dfd74ba

Browse files
committed
edited failing postman test
1 parent ec1d3dd commit dfd74ba

File tree

1 file changed

+1
-61
lines changed

1 file changed

+1
-61
lines changed

Postman/DEV.postman_collection.json

Lines changed: 1 addition & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"info": {
3-
"_postman_id": "8a5411ca-9d89-4851-b78c-c1712e796a80",
3+
"_postman_id": "b658e7fd-c373-47b1-bf3e-8f7a284d3772",
44
"name": "DEV",
55
"description": "Testing Digital Excellence API",
66
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
@@ -4667,66 +4667,6 @@
46674667
}
46684668
]
46694669
},
4670-
{
4671-
"name": "Search",
4672-
"item": [
4673-
{
4674-
"name": "Search-SearchInternal-Administrator",
4675-
"event": [
4676-
{
4677-
"listen": "test",
4678-
"script": {
4679-
"exec": [
4680-
"var projectName = pm.environment.get(\"projectName\");",
4681-
"",
4682-
"var jsonData = pm.response.json();",
4683-
"",
4684-
"eval(pm.environment.get(\"commonTests\"))();",
4685-
"",
4686-
"pm.test(\"Status code is 200\", function () {",
4687-
" pm.response.to.have.status(200);",
4688-
"});",
4689-
"",
4690-
"pm.test(\"Response must be valid and have a json body\", function () {",
4691-
" pm.response.to.be.ok;",
4692-
" pm.response.to.be.withBody;",
4693-
" pm.response.to.be.json;",
4694-
"});",
4695-
"",
4696-
"pm.test(\"Project Name is set correctly and matching: \" + projectName, function () {",
4697-
" pm.expect(jsonData.results[0].name).to.eql(projectName);",
4698-
"});"
4699-
],
4700-
"type": "text/javascript"
4701-
}
4702-
}
4703-
],
4704-
"request": {
4705-
"method": "GET",
4706-
"header": [
4707-
{
4708-
"key": "IdentityId",
4709-
"type": "text",
4710-
"value": "{{administratorUserIdentityId}}"
4711-
}
4712-
],
4713-
"url": {
4714-
"raw": "{{apiUrl}}/api/Search/internal/{{projectId}}",
4715-
"host": [
4716-
"{{apiUrl}}"
4717-
],
4718-
"path": [
4719-
"api",
4720-
"Search",
4721-
"internal",
4722-
"{{projectId}}"
4723-
]
4724-
}
4725-
},
4726-
"response": []
4727-
}
4728-
]
4729-
},
47304670
{
47314671
"name": "Wizard",
47324672
"item": []

0 commit comments

Comments
 (0)