Adjust tests for @inspectFile operator

This commit is contained in:
Andrei Belov 2018-03-21 17:00:29 +03:00 committed by Felipe Zimmerle
parent 138e301695
commit 601e0d7040
No known key found for this signature in database
GPG Key ID: E6DFB08CE8B11277

View File

@ -19,7 +19,7 @@
"Content-Length": "27", "Content-Length": "27",
"Content-Type": "application/x-www-form-urlencoded" "Content-Type": "application/x-www-form-urlencoded"
}, },
"uri":"/whee?res=0", "uri":"/whee?res=1",
"method":"GET", "method":"GET",
"body": [ ] "body": [ ]
}, },
@ -57,7 +57,7 @@
"Content-Length": "27", "Content-Length": "27",
"Content-Type": "application/x-www-form-urlencoded" "Content-Type": "application/x-www-form-urlencoded"
}, },
"uri":"/whee?res=1", "uri":"/whee?res=0",
"method":"GET", "method":"GET",
"body": [ ] "body": [ ]
}, },
@ -106,7 +106,7 @@
] ]
}, },
"expected":{ "expected":{
"debug_log":"Rule returned 0." "debug_log":"Rule returned 1."
}, },
"rules":[ "rules":[
"SecRuleEngine On", "SecRuleEngine On",