Skip to content
This repository has been archived by the owner on Nov 22, 2023. It is now read-only.

Commit

Permalink
(PC-10580) Fix email in grant choice
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorEnaud committed Sep 9, 2021
1 parent 2fff975 commit 1830091
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def create_industrial_webapp_underage_beneficiaries():

email = f"pctest.mineur{departement_code}.{tag}@example.com"

if tag == "has-15-years-old":
if tag == "15-years-old-underage-beneficiary":
user = users_factories.BeneficiaryGrant15Factory(
culturalSurveyId=None,
departementCode=str(departement_code),
Expand All @@ -106,7 +106,7 @@ def create_industrial_webapp_underage_beneficiaries():
publicName=f"PC Test Mineur {departement_code} {short_tag}",
deposit__source="sandbox",
)
elif tag == "has-16-years-old":
elif tag == "16-years-old-underage-beneficiary":
user = users_factories.BeneficiaryGrant16Factory(
culturalSurveyId=None,
departementCode=str(departement_code),
Expand Down

0 comments on commit 1830091

Please sign in to comment.