Skip to content

Commit

Permalink
oidc: enhance test when key not found
Browse files Browse the repository at this point in the history
  • Loading branch information
eguzki committed Feb 16, 2023
1 parent 4e9c9c5 commit 6713c46
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions t/apicast-oidc.t
Original file line number Diff line number Diff line change
Expand Up @@ -389,17 +389,6 @@ to_json({
keys => { somekid => { pem => $::public_key, alg => 'RS256' } },
}]
});
--- upstream
location /test {
echo "yes";
}
--- backend
location = /transactions/oauth_authrep.xml {
content_by_lua_block {
local expected = "provider_key=fookey&service_id=42&usage%5Bhits%5D=1&app_id=appid"
require('luassert').same(ngx.decode_args(expected), ngx.req.get_uri_args(0))
}
}
--- request: GET /test
--- error_code: 403
--- more_headers eval
Expand Down

0 comments on commit 6713c46

Please sign in to comment.