diff --git a/registration/tests.py b/registration/tests.py index 6a26db3..d030f31 100644 --- a/registration/tests.py +++ b/registration/tests.py @@ -196,6 +196,7 @@ class TestRegistration(TestCase): city="Paris", phone_number="0123456789", professional_activity="God", + last_degree="Master", give_contact_to_animath=True, )) self.assertRedirects(response, reverse("registration:email_validation_sent"), 302, 200) @@ -276,7 +277,7 @@ class TestRegistration(TestCase): city="Paris", responsible_name="Toto", responsible_phone="0123456789", responsible_email="toto@example.com")), - (self.coach, dict(professional_activity="God", gender="male", + (self.coach, dict(professional_activity="God", last_degree="Médaille Fields", gender="male", address="1 Rue de Rivoli", zip_code=75001, city="Paris"))]: response = self.client.get(reverse("registration:update_user", args=(user.pk,))) self.assertEqual(response.status_code, 200)