Skip to content

Commit 78b9d10

Browse files
authored
Ruby: Unskip WAF blocking tests for ruby (#3586)
1 parent 94cc7a9 commit 78b9d10

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tests/appsec/waf/test_blocking.py

-3
Original file line numberDiff line numberDiff line change
@@ -222,15 +222,13 @@ class Test_CustomBlockingResponse:
222222
def setup_custom_status_code(self):
223223
self.r_cst = weblog.get("/waf/", headers={"User-Agent": "Canary/v1"})
224224

225-
@bug(context.library == "[email protected]", reason="APPSEC-56056")
226225
def test_custom_status_code(self):
227226
"""Block with a custom HTTP status code"""
228227
assert self.r_cst.status_code == 401
229228

230229
def setup_custom_redirect(self):
231230
self.r_cr = weblog.get("/waf/", headers={"User-Agent": "Canary/v2"}, allow_redirects=False)
232231

233-
@bug(context.library == "[email protected]", reason="APPSEC-56056")
234232
def test_custom_redirect(self):
235233
"""Block with an HTTP redirection"""
236234
assert self.r_cr.status_code == 301
@@ -239,7 +237,6 @@ def test_custom_redirect(self):
239237
def setup_custom_redirect_wrong_status_code(self):
240238
self.r_cr = weblog.get("/waf/", headers={"User-Agent": "Canary/v3"}, allow_redirects=False)
241239

242-
@bug(context.library == "[email protected]", reason="APPSEC-56056")
243240
def test_custom_redirect_wrong_status_code(self):
244241
"""Block with an HTTP redirection but default to 303 status code, because the configured status code is not a valid redirect status code"""
245242
assert self.r_cr.status_code == 303

0 commit comments

Comments
 (0)