From 4b8ed14180f87fb72fec90a430c509933d1a4428 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Sun, 27 Sep 2020 16:40:14 +0200 Subject: [PATCH] Fix one test --- apps/participation/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/participation/tests.py b/apps/participation/tests.py index 1a489f1..8bbeefa 100644 --- a/apps/participation/tests.py +++ b/apps/participation/tests.py @@ -81,7 +81,7 @@ class TestStudentParticipation(TestCase): response = self.client.post(reverse("participation:join_team"), data=dict( access_code=team.access_code, )) - self.assertEqual(response.status_code, 200) + self.assertEqual(response.status_code, 403) def test_no_myteam_redirect_noteam(self): response = self.client.get(reverse("participation:my_team_detail"))