Fix profile test: non-cof users can access /profile

This commit is contained in:
Martin Pépin 2019-10-06 00:06:10 +02:00
parent 41256154ad
commit d5f0060e2e
No known key found for this signature in database
GPG key ID: E7520278B1774448

View file

@ -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)