From d5f0060e2efb24f0bcb1e52c4883b8c8c6956809 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20P=C3=A9pin?= Date: Sun, 6 Oct 2019 00:06:10 +0200 Subject: [PATCH] Fix profile test: non-cof users can access /profile --- gestioncof/tests/test_views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gestioncof/tests/test_views.py b/gestioncof/tests/test_views.py index e945a87a..31cb8d8a 100644 --- a/gestioncof/tests/test_views.py +++ b/gestioncof/tests/test_views.py @@ -362,7 +362,7 @@ class ProfileViewTests(ViewTestCaseMixin, TestCase): http_methods = ["GET", "POST"] auth_user = "member" - auth_forbidden = [None, "user"] + auth_forbidden = [None] def test_get(self): r = self.client.get(self.url)