File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ func TestProxyServerBasicHTTP(t *testing.T) {
35
35
}))
36
36
37
37
// Create test rules (allow all for testing)
38
- testRules , err := rules .ParseAllowSpecs ([]string {"*" })
38
+ testRules , err := rules .ParseAllowSpecs ([]string {"method= *" })
39
39
if err != nil {
40
40
t .Fatalf ("Failed to parse test rules: %v" , err )
41
41
}
@@ -116,7 +116,7 @@ func TestProxyServerBasicHTTPS(t *testing.T) {
116
116
}))
117
117
118
118
// Create test rules (allow all for testing)
119
- testRules , err := rules .ParseAllowSpecs ([]string {"*" })
119
+ testRules , err := rules .ParseAllowSpecs ([]string {"method= *" })
120
120
if err != nil {
121
121
t .Fatalf ("Failed to parse test rules: %v" , err )
122
122
}
@@ -210,7 +210,7 @@ func TestProxyServerCONNECT(t *testing.T) {
210
210
}))
211
211
212
212
// Create test rules (allow all for testing)
213
- testRules , err := rules .ParseAllowSpecs ([]string {"*" })
213
+ testRules , err := rules .ParseAllowSpecs ([]string {"method= *" })
214
214
if err != nil {
215
215
t .Fatalf ("Failed to parse test rules: %v" , err )
216
216
}
You can’t perform that action at this time.
0 commit comments