From e7a25a5f2c901a805b4662b7a8c5c92260379907 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Sun, 8 Mar 2026 11:20:14 -0500 Subject: [PATCH] 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. --- priv/repo/seeds_e2e.exs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/priv/repo/seeds_e2e.exs b/priv/repo/seeds_e2e.exs index d204870c..0f769365 100644 --- a/priv/repo/seeds_e2e.exs +++ b/priv/repo/seeds_e2e.exs @@ -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