projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[#3251] Fixed wrong test-env config setting for [Pleroma.Upload]. Refactoring. Added...
[akkoma]
/
test
/
support
/
builders
/
user_builder.ex
diff --git
a/test/support/builders/user_builder.ex
b/test/support/builders/user_builder.ex
index 6da16f71a90df664f9467633cfef851502f4c132..0c687c02944b93fd9c6641eda2ba0dc23fc4db01 100644
(file)
--- a/
test/support/builders/user_builder.ex
+++ b/
test/support/builders/user_builder.ex
@@
-7,10
+7,12
@@
defmodule Pleroma.Builders.UserBuilder do
email: "test@example.org",
name: "Test Name",
nickname: "testname",
email: "test@example.org",
name: "Test Name",
nickname: "testname",
- password_hash:
Comeonin.Pbkdf2.hashpw
salt("test"),
+ password_hash:
Pbkdf2.hash_pwd_
salt("test"),
bio: "A tester.",
ap_id: "some id",
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)
}
Map.merge(user, data)