From b8afd23d3611903fb18030bf0a2a4b5357c65012 Mon Sep 17 00:00:00 2001 From: Stefan Fleckenstein Date: Wed, 3 Nov 2021 14:50:07 +0100 Subject: [PATCH] remove legacy unit test --- dojo/unittests/authorization/test_authorization_tags.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/dojo/unittests/authorization/test_authorization_tags.py b/dojo/unittests/authorization/test_authorization_tags.py index d1f09986d11..a566322b31b 100644 --- a/dojo/unittests/authorization/test_authorization_tags.py +++ b/dojo/unittests/authorization/test_authorization_tags.py @@ -10,13 +10,6 @@ class TestAuthorizationTags(TestCase): def setUp(self): self.product_type = Product_Type() - @override_settings(FEATURE_AUTHORIZATION_V2=False) - def test_has_object_permission_legacy(self): - - result = has_object_permission(self.product_type, Permissions.Product_Type_View) - - self.assertFalse(result) - @patch('dojo.templatetags.authorization_tags.user_has_permission') @override_settings(FEATURE_AUTHORIZATION_V2=True) def test_has_object_permission_no_permission(self, mock_has_permission):