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