Skip to content

Commit

Permalink
remove paths added in #12261
Browse files Browse the repository at this point in the history
  • Loading branch information
chronolaw authored and dndx committed Jan 12, 2024
1 parent 7ec7a0a commit 70c2fa9
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 11 deletions.
1 change: 0 additions & 1 deletion spec/02-integration/01-helpers/01-helpers_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ for _, strategy in helpers.each_strategy() do
bp.routes:insert {
hosts = { "mock_upstream" },
protocols = { "http" },
paths = { "/" },
service = service
}

Expand Down
2 changes: 0 additions & 2 deletions spec/02-integration/05-proxy/02-router_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,6 @@ for _, strategy in helpers.each_strategy() do
routes = insert_routes(bp, {
{
hosts = { "mock_upstream" },
paths = { "/" },
},
})
end)
Expand Down Expand Up @@ -1302,7 +1301,6 @@ for _, strategy in helpers.each_strategy() do
routes = insert_routes(bp, {
{
protocols = { "https" },
paths = { "/" },
snis = { "www.example.org" },
service = {
name = "service_behind_www.example.org"
Expand Down
1 change: 0 additions & 1 deletion spec/02-integration/05-proxy/03-upstream_headers_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,6 @@ for _, strategy in helpers.each_strategy() do

assert(bp.routes:insert {
hosts = { "headers-charset.test" },
paths = { "/" },
service = service,
})

Expand Down
1 change: 0 additions & 1 deletion spec/02-integration/05-proxy/14-server_tokens_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,6 @@ describe("headers [#" .. strategy .. "]", function()
return function()
bp.routes:insert {
hosts = { "headers-inspect.test" },
paths = { "/" },
}

local service = bp.services:insert({
Expand Down
2 changes: 0 additions & 2 deletions spec/03-plugins/03-http-log/01-log_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ for _, strategy in helpers.each_strategy() do

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

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

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

Expand Down
1 change: 0 additions & 1 deletion spec/03-plugins/07-loggly/01-log_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ for _, strategy in helpers.each_strategy() do

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

local route2 = bp.routes:insert {
Expand Down
1 change: 0 additions & 1 deletion spec/03-plugins/13-cors/01-access_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,6 @@ for _, strategy in helpers.each_strategy() do

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

local route2 = bp.routes:insert({
Expand Down
1 change: 0 additions & 1 deletion spec/03-plugins/25-oauth2/04-invalidations_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ for _, strategy in helpers.each_strategy() do
route = assert(admin_api.routes:insert {
hosts = { "oauth2.com" },
protocols = { "http", "https" },
paths = { "/" },
service = service,
})

Expand Down
1 change: 0 additions & 1 deletion spec/03-plugins/31-proxy-cache/02-access_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ do

local route1 = assert(bp.routes:insert {
hosts = { "route-1.test" },
paths = { "/" },
})
local route2 = assert(bp.routes:insert {
hosts = { "route-2.test" },
Expand Down

0 comments on commit 70c2fa9

Please sign in to comment.