Skip to content

Commit

Permalink
reindex
Browse files Browse the repository at this point in the history
  • Loading branch information
shreemaan-abhishek committed Nov 22, 2024
1 parent da9e3da commit 2dd9453
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions t/plugin/multi-auth2.t
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ passed



=== TEST 5: invalid basic-auth credentials
=== TEST 3: invalid basic-auth credentials
--- request
GET /hello
--- more_headers
Expand All @@ -118,7 +118,7 @@ hmac-auth failed to authenticate the request, code: 401. error: client request c



=== TEST 6: valid basic-auth creds
=== TEST 4: valid basic-auth creds
--- request
GET /hello
--- more_headers
Expand All @@ -130,7 +130,7 @@ failed to authenticate the request



=== TEST 7: missing hmac auth authorization header
=== TEST 5: missing hmac auth authorization header
--- request
GET /hello
--- error_code: 401
Expand All @@ -141,7 +141,7 @@ hmac-auth failed to authenticate the request, code: 401. error: client request c



=== TEST 8: hmac auth missing algorithm
=== TEST 6: hmac auth missing algorithm
--- request
GET /hello
--- more_headers
Expand All @@ -155,7 +155,7 @@ hmac-auth failed to authenticate the request, code: 401. error: client request c



=== TEST 11: add consumer with username and jwt-auth plugins
=== TEST 7: add consumer with username and jwt-auth plugins
--- config
location /t {
content_by_lua_block {
Expand Down Expand Up @@ -186,7 +186,7 @@ passed



=== TEST 12: test with expired jwt token
=== TEST 8: test with expired jwt token
--- request
GET /hello
--- error_code: 401
Expand All @@ -199,7 +199,7 @@ Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXkiOiJ1c2VyLWtle



=== TEST 13: test with jwt token containing wrong signature
=== TEST 9: test with jwt token containing wrong signature
--- request
GET /hello
--- error_code: 401
Expand All @@ -212,7 +212,7 @@ Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXkiOiJ1c2VyLWtle



=== TEST 14: verify jwt-auth
=== TEST 10: verify jwt-auth
--- request
GET /hello
--- more_headers
Expand Down

0 comments on commit 2dd9453

Please sign in to comment.