Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7c9ebfe

Browse files
author
Felipe Zimmerle
committed
Tests: fixes regression/action/10-logging.t
Tests were failing because they were writing wrong/outdated.
1 parent11287a6 commit7c9ebfe

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

‎tests/regression/action/10-logging.t‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
SecAction"phase:1,pass,nolog,id:500007"
3838
),
3939
match_log=> {
40-
-error=> [ qr/ModSecurity:/,1 ],
40+
-error=> [ qr/500007/,1 ],
4141
-audit=> [ qr/./,1 ],
4242
},
4343
match_response=> {
@@ -85,7 +85,7 @@
8585
SecAction"phase:1,deny,status:403,nolog,id:500009"
8686
),
8787
match_log=> {
88-
-error=> [ qr/ModSecurity:/,1 ],
88+
-error=> [ qr/500009/,1 ],
8989
-audit=> [ qr/./,1 ],
9090
},
9191
match_response=> {
@@ -274,7 +274,7 @@
274274
SecAction"phase:1,pass,nolog,noauditlog,id:500017"
275275
),
276276
match_log=> {
277-
-error=> [ qr/ModSecurity:/,1 ],
277+
-error=> [ qr/500017/,1 ],
278278
-audit=> [ qr/./,1 ],
279279
},
280280
match_response=> {
@@ -320,7 +320,7 @@
320320
SecAction"phase:1,pass,auditlog,nolog,id:500019"
321321
),
322322
match_log=> {
323-
-error=> [ qr/ModSecurity:/,1 ],
323+
-error=> [ qr/500019/,1 ],
324324
-audit=> [ qr/./,1 ],
325325
},
326326
match_response=> {
@@ -366,7 +366,7 @@
366366
SecAction"phase:1,pass,noauditlog,nolog,id:500021"
367367
),
368368
match_log=> {
369-
-error=> [ qr/ModSecurity:/,1 ],
369+
-error=> [ qr/500021/,1 ],
370370
-audit=> [ qr/./,1 ],
371371
},
372372
match_response=> {
@@ -460,7 +460,7 @@
460460
SecAction"phase:1,deny,status:403,nolog,noauditlog,id:500025"
461461
),
462462
match_log=> {
463-
-error=> [ qr/ModSecurity:/,1 ],
463+
-error=> [ qr/500025/,1 ],
464464
-audit=> [ qr/./,1 ],
465465
},
466466
match_response=> {
@@ -506,7 +506,7 @@
506506
SecAction"phase:1,deny,status:403,auditlog,nolog,id:500027"
507507
),
508508
match_log=> {
509-
-error=> [ qr/ModSecurity:/,1 ],
509+
-error=> [ qr/500027/,1 ],
510510
-audit=> [ qr/./,1 ],
511511
},
512512
match_response=> {
@@ -552,7 +552,7 @@
552552
SecAction"phase:1,deny,status:403,noauditlog,nolog,id:500029"
553553
),
554554
match_log=> {
555-
-error=> [ qr/ModSecurity:/,1 ],
555+
-error=> [ qr/500029/,1 ],
556556
-audit=> [ qr/./,1 ],
557557
},
558558
match_response=> {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp