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) {
3535 }))
3636
3737 // Create test rules (allow all for testing)
38- testRules , err := rules .ParseAllowSpecs ([]string {"*" })
38+ testRules , err := rules .ParseAllowSpecs ([]string {"method= *" })
3939 if err != nil {
4040 t .Fatalf ("Failed to parse test rules: %v" , err )
4141 }
@@ -116,7 +116,7 @@ func TestProxyServerBasicHTTPS(t *testing.T) {
116116 }))
117117
118118 // Create test rules (allow all for testing)
119- testRules , err := rules .ParseAllowSpecs ([]string {"*" })
119+ testRules , err := rules .ParseAllowSpecs ([]string {"method= *" })
120120 if err != nil {
121121 t .Fatalf ("Failed to parse test rules: %v" , err )
122122 }
@@ -210,7 +210,7 @@ func TestProxyServerCONNECT(t *testing.T) {
210210 }))
211211
212212 // Create test rules (allow all for testing)
213- testRules , err := rules .ParseAllowSpecs ([]string {"*" })
213+ testRules , err := rules .ParseAllowSpecs ([]string {"method= *" })
214214 if err != nil {
215215 t .Fatalf ("Failed to parse test rules: %v" , err )
216216 }
You can’t perform that action at this time.
0 commit comments