Skip to content

Commit

Permalink
reindex
Browse files Browse the repository at this point in the history
  • Loading branch information
Revolyssup committed Dec 4, 2024
1 parent cd47bc4 commit e4f9572
Show file tree
Hide file tree
Showing 3 changed files with 9 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

0 comments on commit e4f9572

Please sign in to comment.