From 288c7691af5502fb0b4a9e79da5f59952cdb7ff7 Mon Sep 17 00:00:00 2001 From: Arseny Balobanov Date: Sat, 4 Apr 2020 21:18:29 +0300 Subject: [PATCH] firewall: remove duplicate test --- firewall/cmd/firewall/main_test.go | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/firewall/cmd/firewall/main_test.go b/firewall/cmd/firewall/main_test.go index 7cae506..5f6dc6f 100644 --- a/firewall/cmd/firewall/main_test.go +++ b/firewall/cmd/firewall/main_test.go @@ -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 {