Fix one test

This commit is contained in:
Yohann D'ANELLO 2020-09-27 16:40:14 +02:00
parent 0dece5abef
commit 4b8ed14180
1 changed files with 1 additions and 1 deletions

View File

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