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 4bdaddc4abadbe598c21c26065a09615ce257133..0c687c02944b93fd9c6641eda2ba0dc23fc4db01 100644
(file)
--- a/
test/support/builders/user_builder.ex
+++ b/
test/support/builders/user_builder.ex
@@
-7,11
+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",
last_digest_emailed_at: NaiveDateTime.truncate(NaiveDateTime.utc_now(), :second),
bio: "A tester.",
ap_id: "some id",
last_digest_emailed_at: NaiveDateTime.truncate(NaiveDateTime.utc_now(), :second),
- info: %{}
+ multi_factor_authentication_settings: %Pleroma.MFA.Settings{},
+ notification_settings: %Pleroma.User.NotificationSetting{}
}
Map.merge(user, data)
}
Map.merge(user, data)