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 committed Jan 23, 2024
1 parent f76f78d commit 88abdcf
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 88abdcf

Please sign in to comment.