1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-02-06 12:13:01 +00:00

Fix one test

This commit is contained in:
Yohann D'ANELLO 2020-09-27 16:40:14 +02:00
parent 0dece5abef
commit 4b8ed14180

View File

@ -81,7 +81,7 @@ class TestStudentParticipation(TestCase):
response = self.client.post(reverse("participation:join_team"), data=dict( response = self.client.post(reverse("participation:join_team"), data=dict(
access_code=team.access_code, access_code=team.access_code,
)) ))
self.assertEqual(response.status_code, 200) self.assertEqual(response.status_code, 403)
def test_no_myteam_redirect_noteam(self): def test_no_myteam_redirect_noteam(self):
response = self.client.get(reverse("participation:my_team_detail")) response = self.client.get(reverse("participation:my_team_detail"))