Skip to content

Commit

Permalink
tests(*): remove unnecessary mock func
Browse files Browse the repository at this point in the history
  • Loading branch information
windmgc committed Aug 21, 2024
1 parent 5039e35 commit 8259e8d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions spec/fixtures/aws-lambda.lua
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,6 @@ local fixtures = {
ngx.header["Content-Type"] = "application/json"
ngx.say("{\"statusCode\": 200, \"isBase64Encoded\": true, \"body\": \"eyJrZXkiOiAidmFsdWUiLCAia2V5MiI6IFtdfQ==\", \"headers\": {}, \"multiValueHeaders\": {\"Content-Type\": [\"application/json+test\"]}}")
-- elseif string.match(ngx.var.uri, "functionWithNullMultiValueHeaders") then
-- ngx.header["Content-Type"] = "application/json"
-- ngx.say("{\"statusCode\": 200, \"headers\": { \"Age\": \"3600\"}, \"multiValueHeaders\": null}")
elseif type(res) == 'string' then
ngx.header["Content-Length"] = #res + 1
ngx.say(res)
Expand Down

0 comments on commit 8259e8d

Please sign in to comment.