Skip to content

Commit 7255c9e

Browse files
author
Bart Koelman
committed
Package updates (fixes security vulnerability) and corrected outdated test
1 parent 115703f commit 7255c9e

File tree

3 files changed

+103
-100
lines changed

3 files changed

+103
-100
lines changed

test/e2e/postman/JADNC_GettingStarted_PostmanCollection.json

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"info": {
3-
"_postman_id": "f44d0703-d5b8-4bcf-8c8b-f5d23baa7ce7",
3+
"_postman_id": "ba36148c-078c-4864-95fe-e0a2f47e3878",
44
"name": "JsonApiDotNetCoreGettingStarted",
55
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
66
},
@@ -11,7 +11,6 @@
1111
{
1212
"listen": "test",
1313
"script": {
14-
"id": "346f319b-c87c-4fd3-81ff-874f695d7206",
1514
"exec": [
1615
"pm.test(\"Correct response is returned\", function () {\r",
1716
" pm.response.to.have.status(200);\r",
@@ -63,7 +62,6 @@
6362
{
6463
"listen": "test",
6564
"script": {
66-
"id": "35583730-4fc2-420a-bb58-baaa38993567",
6765
"exec": [
6866
"pm.test(\"Correct response is returned\", function () {\r",
6967
" pm.response.to.have.status(404);\r",
@@ -114,7 +112,6 @@
114112
{
115113
"listen": "test",
116114
"script": {
117-
"id": "c7db941a-26f5-4650-bb22-cc2bcea0b1fb",
118115
"exec": [
119116
"pm.test(\"Correct response is returned\", function () {\r",
120117
" pm.response.to.have.status(200);\r",
@@ -166,7 +163,6 @@
166163
{
167164
"listen": "test",
168165
"script": {
169-
"id": "c3d53ca9-5b59-4a9e-871e-cca1d02b4334",
170166
"exec": [
171167
"pm.test(\"Correct response is returned\", function () {\r",
172168
" pm.response.to.have.status(200);\r",
@@ -201,7 +197,7 @@
201197
"method": "GET",
202198
"header": [],
203199
"url": {
204-
"raw": "{{host}}/api/books?fields=title&include=author",
200+
"raw": "{{host}}/api/books?fields[books]=title&include=author",
205201
"host": [
206202
"{{host}}"
207203
],
@@ -211,7 +207,7 @@
211207
],
212208
"query": [
213209
{
214-
"key": "fields",
210+
"key": "fields[books]",
215211
"value": "title"
216212
},
217213
{
@@ -229,7 +225,6 @@
229225
{
230226
"listen": "test",
231227
"script": {
232-
"id": "595ed506-f24c-453a-aaea-99f4b82e6a87",
233228
"exec": [
234229
"pm.test(\"Correct response is returned\", function () {\r",
235230
" pm.response.to.have.status(200);\r",
@@ -287,7 +282,6 @@
287282
{
288283
"listen": "test",
289284
"script": {
290-
"id": "0a5476d6-5c52-4b7c-8ef5-fee6e8f5856b",
291285
"exec": [
292286
"pm.test(\"Correct response is returned\", function () {\r",
293287
" pm.response.to.have.status(200);\r",
@@ -345,7 +339,6 @@
345339
{
346340
"listen": "test",
347341
"script": {
348-
"id": "406d83df-1b2c-4bce-a2a6-d04bcb5756e3",
349342
"exec": [
350343
"pm.test(\"Correct response is returned\", function () {\r",
351344
" pm.response.to.have.status(200);\r",
@@ -414,7 +407,6 @@
414407
{
415408
"listen": "test",
416409
"script": {
417-
"id": "eed97da8-1407-416f-838e-4aaa9191edd0",
418410
"exec": [
419411
"pm.test(\"Correct response is returned\", function () {\r",
420412
" pm.response.to.have.status(200);\r",
@@ -466,7 +458,6 @@
466458
{
467459
"listen": "test",
468460
"script": {
469-
"id": "e6d4ef48-4706-47fa-9a82-1b312753b303",
470461
"exec": [
471462
"pm.test(\"Correct response is returned\", function () {\r",
472463
" pm.response.to.have.status(200);\r",
@@ -535,7 +526,6 @@
535526
{
536527
"listen": "test",
537528
"script": {
538-
"id": "ef34f885-48d2-4fed-ab5b-fc55b02598f3",
539529
"exec": [
540530
"pm.test(\"Correct response is returned\", function () {\r",
541531
" pm.response.to.have.status(200);\r",
@@ -592,6 +582,5 @@
592582
},
593583
"response": []
594584
}
595-
],
596-
"protocolProfileBehavior": {}
585+
]
597586
}

0 commit comments

Comments
 (0)