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:
Graham McIntire 2026-03-08 11:20:14 -05:00
parent a102918455
commit e7a25a5f2c
No known key found for this signature in database

View file

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