diff --git a/t/01lua_config.t b/t/01lua_config.t index 2ba5162..9c93f18 100644 --- a/t/01lua_config.t +++ b/t/01lua_config.t @@ -21,11 +21,6 @@ init_by_lua_block { ngx.log(ngx.ALERT, "[Crowdsec] Initialisation done") } -map $server_addr $unix { - default 0; - "~unix:" 1; -} - access_by_lua_block { local cs = require "crowdsec" if ngx.var.unix == "1" then diff --git a/t/02live.t b/t/02live.t index e9fa99e..d41726a 100644 --- a/t/02live.t +++ b/t/02live.t @@ -28,11 +28,6 @@ init_by_lua_block ngx.log(ngx.ALERT, "[Crowdsec] Initialisation done") } -map $server_addr $unix { - default 0; - "~unix:" 1; -} - access_by_lua_block { local cs = require "crowdsec" cs.Allow(ngx.var.remote_addr) diff --git a/t/03live_and_ban.t b/t/03live_and_ban.t index 2034c89..04c8195 100644 --- a/t/03live_and_ban.t +++ b/t/03live_and_ban.t @@ -28,11 +28,6 @@ init_by_lua_block ngx.log(ngx.ALERT, "[Crowdsec] Initialisation done") } -map $server_addr $unix { - default 0; - "~unix:" 1; -} - access_by_lua_block { local cs = require "crowdsec" cs.Allow(ngx.var.remote_addr)