diff --git a/t/integration_block_req_header.t b/t/integration_block_req_header.t index af56a7f..d505380 100644 --- a/t/integration_block_req_header.t +++ b/t/integration_block_req_header.t @@ -32,6 +32,7 @@ our $LocationConfig = <<'_EOC_'; log_by_lua_block{ local coraza = require "resty.coraza" + coraza.do_log() coraza.do_free() } } @@ -49,7 +50,7 @@ __DATA__ --- more_headers User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 Edg/111.0.1661.44 --- request -POST /t/shell.php +POST /t/shell.php?a=11 aaaaaaaaa=aaaaaa --- error_code: 452 --- response_body_like eval diff --git a/t/integration_block_resp_header.t b/t/integration_block_resp_header.t index 63e2a27..db119ae 100644 --- a/t/integration_block_resp_header.t +++ b/t/integration_block_resp_header.t @@ -32,6 +32,7 @@ our $LocationConfig = <<'_EOC_'; log_by_lua_block{ local coraza = require "resty.coraza" + coraza.do_log() coraza.do_free() } } diff --git a/t/integration_passed.t b/t/integration_passed.t index c7978c6..a627d46 100644 --- a/t/integration_passed.t +++ b/t/integration_passed.t @@ -31,6 +31,7 @@ our $LocationConfig = <<'_EOC_'; log_by_lua_block{ local coraza = require "resty.coraza" + coraza.do_log() coraza.do_free() } } diff --git a/t/integration_with_coreruleset.t b/t/integration_with_coreruleset.t index e0eeffc..9e7f63c 100644 --- a/t/integration_with_coreruleset.t +++ b/t/integration_with_coreruleset.t @@ -35,6 +35,7 @@ our $LocationConfig = <<'_EOC_'; log_by_lua_block{ local coraza = require "resty.coraza" + coraza.do_log() coraza.do_free() } }