firewall: remove duplicate test

This commit is contained in:
Arseny Balobanov 2020-04-04 21:18:29 +03:00
parent 7b93cc3a71
commit 288c7691af

View file

@ -215,19 +215,6 @@ rules:
rules:
- endpoint: "/"
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,
makeRequest: func() *resty.Request {