Skip to content

Commit 504f0e3

Browse files
committed
Fixing failing npm test
1 parent 39ff420 commit 504f0e3

File tree

2 files changed

+13
-11
lines changed

2 files changed

+13
-11
lines changed

test/codegen/newman/fixtures/basicCollection.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -629,12 +629,7 @@
629629
],
630630
"request": {
631631
"method": "DELETE",
632-
"header": [
633-
{
634-
"key": "Content-Type",
635-
"value": "text/plain"
636-
}
637-
],
632+
"header": [],
638633
"url": {
639634
"raw": "https://postman-echo.com/delete",
640635
"protocol": "https",

test/codegen/newman/fixtures/redirectCollection.json

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,31 @@
77
"item": [
88
{
99
"name": "Follow Redirects",
10+
"protocolProfileBehavior": {
11+
"followRedirects": true
12+
},
1013
"request": {
1114
"method": "GET",
1215
"header": [],
1316
"url": {
14-
"raw": "https://httpbin.org/redirect/1",
17+
"raw": "https://httpbin.org/redirect-to?url=https://postman-echo.com/get",
1518
"protocol": "https",
1619
"host": [
1720
"httpbin",
1821
"org"
1922
],
2023
"path": [
21-
"redirect",
22-
"1"
24+
"redirect-to"
25+
],
26+
"query": [
27+
{
28+
"key": "url",
29+
"value": "https://postman-echo.com/get"
30+
}
2331
]
2432
}
2533
},
2634
"response": []
2735
}
28-
],
29-
"protocolProfileBehavior": {}
36+
]
3037
}

0 commit comments

Comments
 (0)