fix: add required consent fields to e2e test user registration
User registration requires terms_of_service_consent and privacy_policy_consent to be true. The seed script was failing without these fields.
This commit is contained in:
parent
a102918455
commit
e7a25a5f2c
1 changed files with 3 additions and 1 deletions
|
|
@ -16,7 +16,9 @@ test_totp_secret = "JBSWY3DPEHPK3PXP"
|
|||
Accounts.register_user(%{
|
||||
email: test_email,
|
||||
password: test_password,
|
||||
password_confirmation: test_password
|
||||
password_confirmation: test_password,
|
||||
terms_of_service_consent: true,
|
||||
privacy_policy_consent: true
|
||||
})
|
||||
|
||||
# Confirm the user's email
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue