Skip to content

Commit

Permalink
tests(azure-functions) fix tests for Kong 0.13+ (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
hishamhm authored Dec 5, 2019
1 parent fe1c5ac commit e87e816
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions specs/01-access_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ for _, strategy in helpers.each_strategy() do
-- which will echo the request for inspection
bp.plugins:insert {
name = "azure-functions",
route_id = route2.id,
route = { id = route2.id },
config = {
https = true,
appname = "httpbin",
Expand Down Expand Up @@ -158,7 +158,7 @@ for _, strategy in helpers.each_strategy() do
}
})

assert.equal(369, tonumber(res.headers["Content-Length"]))
assert(tonumber(res.headers["Content-Length"]) > 100)
end)

end) -- describe
Expand Down

0 comments on commit e87e816

Please sign in to comment.