Merge branch 'develop' into 'remove-twitter-api'
[akkoma] / test / support / builders / user_builder.ex
index fcfea666f1a2f517f2b8a698e632cc0f1c1a9728..0c687c02944b93fd9c6641eda2ba0dc23fc4db01 100644 (file)
@@ -7,10 +7,11 @@ defmodule Pleroma.Builders.UserBuilder do
       email: "test@example.org",
       name: "Test Name",
       nickname: "testname",
-      password_hash: Comeonin.Pbkdf2.hashpwsalt("test"),
+      password_hash: Pbkdf2.hash_pwd_salt("test"),
       bio: "A tester.",
       ap_id: "some id",
       last_digest_emailed_at: NaiveDateTime.truncate(NaiveDateTime.utc_now(), :second),
+      multi_factor_authentication_settings: %Pleroma.MFA.Settings{},
       notification_settings: %Pleroma.User.NotificationSetting{}
     }