Modified affected test cases, which checked wrong variables

This commit is contained in:
Ervin Hegedus 2019-02-02 11:30:22 +00:00 committed by Felipe Zimmerle
parent 17d79ed7ba
commit 2d3fbbc56a
No known key found for this signature in database
GPG Key ID: E6DFB08CE8B11277
2 changed files with 4 additions and 4 deletions

View File

@ -1511,11 +1511,11 @@
]
},
"expected":{
"error_log":"o0,15v512,20t:trim"
"error_log":"o0,8o0,8v491,8t:trimo0,16o0,16v709,16t:trim"
},
"rules":[
"SecRequestBodyAccess On",
"SecRule FILES_NAMES \"small_text_file\" \"id:1,phase:3,pass,t:trim,msg:'s'\""
"SecRule FILES_NAMES \"(fiasdfasdfledata|filedata)\" \"id:1,phase:3,pass,t:trim,msg:'s'\""
]
},
{

View File

@ -51,11 +51,11 @@
]
},
"expected":{
"debug_log":"T \\(0\\) t:trim: \"small_text"
"debug_log":"T \\(0\\) t:trim: \"filedata"
},
"rules":[
"SecRuleEngine On",
"SecRule FILES_NAMES \"@contains small_text_file.txt\" \"id:1,phase:3,pass,t:trim\""
"SecRule FILES_NAMES \"@contains filedata\" \"id:1,phase:3,pass,t:trim\""
]
}
]