Skip to content

Commit

Permalink
reindex
Browse files Browse the repository at this point in the history
  • Loading branch information
Revolyssup committed Jan 16, 2025
1 parent 5eebc8e commit ec13544
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
6 changes: 3 additions & 3 deletions t/plugin/basic-auth-anonymous-consumer.t
Original file line number Diff line number Diff line change
Expand Up @@ -170,15 +170,15 @@ hello world
=== TEST 4: request without basic-auth header will be from anonymous consumer and different rate limit will apply
=== TEST 5: request without basic-auth header will be from anonymous consumer and different rate limit will apply
--- pipelined_requests eval
["GET /hello", "GET /hello", "GET /hello", "GET /hello"]
--- error_code eval
[200, 503, 503, 503]
=== TEST 5: add basic auth plugin with non-existent anonymous_consumer
=== TEST 6: add basic auth plugin with non-existent anonymous_consumer
--- config
location /t {
content_by_lua_block {
Expand Down Expand Up @@ -214,7 +214,7 @@ passed
=== TEST 6: anonymous-consumer configured in the route should not be found
=== TEST 7: anonymous-consumer configured in the route should not be found
--- request
GET /hello
--- error_code: 401
Expand Down
6 changes: 3 additions & 3 deletions t/plugin/jwt-auth-anonymous-consumer.t
Original file line number Diff line number Diff line change
Expand Up @@ -170,15 +170,15 @@ hello world
=== TEST 4: request without jwt-auth header will be from anonymous consumer and different rate limit will apply
=== TEST 5: request without jwt-auth header will be from anonymous consumer and different rate limit will apply
--- pipelined_requests eval
["GET /hello", "GET /hello", "GET /hello", "GET /hello"]
--- error_code eval
[200, 503, 503, 503]
=== TEST 5: add jwt auth plugin with non-existent anonymous_consumer
=== TEST 6: add jwt auth plugin with non-existent anonymous_consumer
--- config
location /t {
content_by_lua_block {
Expand Down Expand Up @@ -214,7 +214,7 @@ passed
=== TEST 6: anonymous-consumer configured in the route should not be found
=== TEST 7: anonymous-consumer configured in the route should not be found
--- request
GET /hello
--- error_code: 401
Expand Down
6 changes: 3 additions & 3 deletions t/plugin/key-auth-anonymous-consumer.t
Original file line number Diff line number Diff line change
Expand Up @@ -169,15 +169,15 @@ hello world
=== TEST 4: request without key-auth header will be from anonymous consumer and different rate limit will apply
=== TEST 5: request without key-auth header will be from anonymous consumer and different rate limit will apply
--- pipelined_requests eval
["GET /hello", "GET /hello", "GET /hello", "GET /hello"]
--- error_code eval
[200, 503, 503, 503]
=== TEST 5: add key auth plugin with non-existent anonymous_consumer
=== TEST 6: add key auth plugin with non-existent anonymous_consumer
--- config
location /t {
content_by_lua_block {
Expand Down Expand Up @@ -213,7 +213,7 @@ passed
=== TEST 6: anonymous-consumer configured in the route should not be found
=== TEST 7: anonymous-consumer configured in the route should not be found
--- request
GET /hello
--- error_code: 401
Expand Down
1 change: 1 addition & 0 deletions t/plugin/multi-auth2.t
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ hello world
failed to authenticate the request



=== TEST 5: invalid basic-auth credentials
--- request
GET /hello
Expand Down

0 comments on commit ec13544

Please sign in to comment.