firewall: remove duplicate test
This commit is contained in:
parent
7b93cc3a71
commit
288c7691af
1 changed files with 0 additions and 13 deletions
|
@ -215,19 +215,6 @@ rules:
|
||||||
rules:
|
rules:
|
||||||
- endpoint: "/"
|
- endpoint: "/"
|
||||||
forbidden_response_codes: [200]
|
forbidden_response_codes: [200]
|
||||||
`,
|
|
||||||
service: echoService,
|
|
||||||
makeRequest: func() *resty.Request {
|
|
||||||
return c.R().SetBody("hello")
|
|
||||||
},
|
|
||||||
expected: result{code: http.StatusForbidden, body: "Forbidden"},
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "bad-status-code",
|
|
||||||
conf: `
|
|
||||||
rules:
|
|
||||||
- endpoint: "/"
|
|
||||||
forbidden_response_codes: [200]
|
|
||||||
`,
|
`,
|
||||||
service: echoService,
|
service: echoService,
|
||||||
makeRequest: func() *resty.Request {
|
makeRequest: func() *resty.Request {
|
||||||
|
|
Loading…
Reference in a new issue