From 7aa4b480d7b2c4abe3d868d6b51e6d431bca1f7b Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Sat, 16 Mar 2019 21:55:47 -0400 Subject: [PATCH] Fix failing ACL test Signed-off-by: Roberto Rosario --- mayan/apps/acls/tests/test_api.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mayan/apps/acls/tests/test_api.py b/mayan/apps/acls/tests/test_api.py index 0cadd7b008..4594dbe9c8 100644 --- a/mayan/apps/acls/tests/test_api.py +++ b/mayan/apps/acls/tests/test_api.py @@ -51,6 +51,8 @@ class ACLAPITestCase(ACLTestMixin, BaseAPITestCase): ) def test_object_acl_delete_api_view_with_access(self): + self.expected_content_type = None + self.grant_access(obj=self.test_object, permission=permission_acl_edit) response = self._request_acl_delete_api_view()