Skip to content

Commit

Permalink
tests(key-auth): deprecate mockbin
Browse files Browse the repository at this point in the history
mockbin.com redirects to insomnia official site and triggers a security
policy, which makes test fail.
  • Loading branch information
samugi committed Nov 15, 2023
1 parent 6cf71c1 commit ea226be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/03-plugins/09-key-auth/02-access_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ for _, strategy in helpers.each_strategy() do

local service7 = bp.services:insert{
protocol = "http",
port = 80,
host = "mockbin.com",
port = helpers.mock_upstream_port,
host = "localhost",
}

local route7 = bp.routes:insert {
Expand Down

0 comments on commit ea226be

Please sign in to comment.