File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -564,7 +564,7 @@ spec:
564564 Method : "GET" ,
565565 Path : "/get" ,
566566 Host : "httpbin.external" ,
567- Check : scaffold .WithExpectedStatus (http .StatusMovedPermanently ),
567+ Check : scaffold .WithExpectedStatus (http .StatusOK ),
568568 })
569569 })
570570
@@ -1462,7 +1462,7 @@ spec:
14621462 Path : "/headers" ,
14631463 Host : "httpbin.example" ,
14641464 Checks : []scaffold.ResponseCheckFunc {
1465- scaffold .WithExpectedStatus (http .StatusMovedPermanently ),
1465+ scaffold .WithExpectedStatus (http .StatusOK ),
14661466 scaffold .WithExpectedHeader ("Location" , "http://httpbin.org/headers" ),
14671467 },
14681468 })
Original file line number Diff line number Diff line change @@ -253,7 +253,7 @@ spec:
253253 GET ("/get" ).
254254 WithHost ("httpbin.external" ).
255255 Expect ().
256- Status (http .StatusMovedPermanently )
256+ Status (http .StatusOK )
257257 })
258258
259259 It ("Delete Ingress during restart" , func () {
@@ -283,7 +283,7 @@ spec:
283283 GET ("/get" ).
284284 WithHost ("httpbin.external" ).
285285 Expect ().
286- Status (http .StatusMovedPermanently )
286+ Status (http .StatusOK )
287287
288288 s .NewAPISIXClient ().
289289 GET ("/get" ).
@@ -304,7 +304,7 @@ spec:
304304 GET ("/get" ).
305305 WithHost ("httpbin.external" ).
306306 Expect ().
307- Status (http .StatusMovedPermanently )
307+ Status (http .StatusOK )
308308
309309 s .NewAPISIXClient ().
310310 GET ("/get" ).
You can’t perform that action at this time.
0 commit comments