Credo fixes.
[akkoma] / test / support / builders / user_builder.ex
index 6da16f71a90df664f9467633cfef851502f4c132..0d04907148f2e0d1cdd2173955e46eac610bbf56 100644 (file)
@@ -10,7 +10,9 @@ defmodule Pleroma.Builders.UserBuilder do
       password_hash: Comeonin.Pbkdf2.hashpwsalt("test"),
       bio: "A tester.",
       ap_id: "some id",
-      last_digest_emailed_at: NaiveDateTime.truncate(NaiveDateTime.utc_now(), :second)
+      last_digest_emailed_at: NaiveDateTime.truncate(NaiveDateTime.utc_now(), :second),
+      multi_factor_authentication_settings: %Pleroma.MFA.Settings{},
+      notification_settings: %Pleroma.User.NotificationSetting{}
     }
 
     Map.merge(user, data)