mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-07-04 01:32:11 +02:00
Add vaccine sheet field, closes #18
This commit is contained in:
@ -230,6 +230,7 @@ class TestStudentParticipation(TestCase):
|
||||
city="Paris",
|
||||
photo_authorization="authorization/photo/mai-linh",
|
||||
health_sheet="authorization/health/mai-linh",
|
||||
vaccine_sheet="authorization/vaccine/mai-linh",
|
||||
parental_authorization="authorization/parental/mai-linh",
|
||||
)
|
||||
|
||||
@ -251,6 +252,7 @@ class TestStudentParticipation(TestCase):
|
||||
city="Paris",
|
||||
photo_authorization="authorization/photo/emmy",
|
||||
health_sheet="authorization/health/emmy",
|
||||
vaccine_sheet="authorization/vaccine/emmy",
|
||||
parental_authorization="authorization/parental/emmy",
|
||||
)
|
||||
|
||||
@ -272,11 +274,13 @@ class TestStudentParticipation(TestCase):
|
||||
city="Paris",
|
||||
photo_authorization="authorization/photo/tfjm",
|
||||
health_sheet="authorization/health/tfjm",
|
||||
vaccine_sheet="authorization/health/tfjm",
|
||||
parental_authorization="authorization/parental/tfjm",
|
||||
)
|
||||
|
||||
self.coach.registration.team = self.team
|
||||
self.coach.registration.health_sheet = "authorization/health/coach"
|
||||
self.coach.registration.vaccine_sheet = "authorization/vaccine/coach"
|
||||
self.coach.registration.photo_authorization = "authorization/photo/coach"
|
||||
self.coach.registration.email_confirmed = True
|
||||
self.coach.registration.save()
|
||||
@ -305,6 +309,7 @@ class TestStudentParticipation(TestCase):
|
||||
|
||||
self.user.registration.photo_authorization = "authorization/photo/ananas"
|
||||
self.user.registration.health_sheet = "authorization/health/ananas"
|
||||
self.user.registration.vaccine_sheet = "authorization/health/ananas"
|
||||
self.user.registration.parental_authorization = "authorization/parental/ananas"
|
||||
self.user.registration.save()
|
||||
|
||||
|
Reference in New Issue
Block a user