mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-12-24 22:16:35 +08:00
WAF增加多个动作
This commit is contained in:
@@ -25,7 +25,7 @@ func TestRule_Init_Single(t *testing.T) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
req := requests.NewRequest(rawReq)
|
||||
req := requests.NewTestRequest(rawReq)
|
||||
t.Log(rule.MatchRequest(req))
|
||||
}
|
||||
|
||||
@@ -44,7 +44,7 @@ func TestRule_Init_Composite(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
req := requests.NewRequest(rawReq)
|
||||
req := requests.NewTestRequest(rawReq)
|
||||
t.Log(rule.MatchRequest(req))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user