Skip to content

Commit

Permalink
tests(plugins): fix previous master test failures
Browse files Browse the repository at this point in the history
Fix `03-http-log/01-log_spec.lua`
Fix `13-cors/01-access_spec.lua`
Fix `spec/03-plugins/03-http-log/01-log_spec.lua`
  • Loading branch information
chronolaw authored and locao committed Mar 5, 2024
1 parent 1ec0472 commit 8f4fd55
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/03-plugins/03-http-log/01-log_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ for _, strategy in helpers.each_strategy() do

local route1 = bp.routes:insert {
hosts = { "http_logging.test" },
paths = { "/" },
service = service1
}

Expand Down Expand Up @@ -626,6 +627,7 @@ for _, strategy in helpers.each_strategy() do

local route = bp.routes:insert {
hosts = { "http_queue_logging.test" },
paths = { "/" },
service = service
}

Expand Down
1 change: 1 addition & 0 deletions spec/03-plugins/13-cors/01-access_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ for _, strategy in helpers.each_strategy() do

local route1 = bp.routes:insert({
hosts = { "cors1.com" },
paths = { "/" },
})

local route2 = bp.routes:insert({
Expand Down

0 comments on commit 8f4fd55

Please sign in to comment.