on master help sign in
Disable the httpbin test with redirects
6575d41Mark Karpov
httpbin-tests/Network/HTTP/ReqSpec.hs+16−12
@@ -273,18 +273,22 @@ spec = do
273 -- TODO /response-headers
273 -- TODO /response-headers
274 -- TODO /redirect
274 -- TODO /redirect
275
275
276+ -- FIXME Redirects test is temporarily disabled due to
277+ --
278+ -- https://github.com/postmanlabs/httpbin/issues/617
279+
276− describe "redirects"
280+ -- describe "redirects"
277− $ it "follows redirects"
281+ -- $ it "follows redirects"
278− $ do
282+ -- $ do
279− r <-
283+ -- r <-
280− req
284+ -- req
281− GET
285+ -- GET
282− (httpbin /: "redirect-to")
286+ -- (httpbin /: "redirect-to")
283− NoReqBody
287+ -- NoReqBody
284− ignoreResponse
288+ -- ignoreResponse
285− ("url" =: ("https://httpbin.org" :: Text))
289+ -- ("url" =: ("https://httpbin.org" :: Text))
286− responseStatusCode r `shouldBe` 200
290+ -- responseStatusCode r `shouldBe` 200
287− responseStatusMessage r `shouldBe` "OK"
291+ -- responseStatusMessage r `shouldBe` "OK"
288
292
289 -- TODO /relative-redicet
293 -- TODO /relative-redicet
290 -- TODO /absolute-redirect
294 -- TODO /absolute-redirect