Disable redirect test until HTTP endpoint is fixed

This commit is contained in:
Sam Surtees 2020-07-11 00:03:12 +10:00
parent 2cee14c124
commit a56be783de

View File

@ -55,6 +55,8 @@
test.isequal(responseCode, 418)
end
-- Disable as httpbin.org returns 404 on this endpoint
--[[
function suite.http_redirect()
local result, err, responseCode = http.get("http://httpbin.org/redirect/3")
if result then
@ -63,6 +65,7 @@
test.fail(err);
end
end
]]
function suite.http_headers()
local result, err, responseCode = http.get("http://httpbin.org/headers", {