projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d52f9c1
)
Tests: Fix tests failing because of info being null.
author
lain
<lain@soykaf.club>
Fri, 1 Nov 2019 13:16:00 +0000
(14:16 +0100)
committer
lain
<lain@soykaf.club>
Fri, 1 Nov 2019 13:16:00 +0000
(14:16 +0100)
test/support/builders/user_builder.ex
patch
|
blob
|
history
diff --git
a/test/support/builders/user_builder.ex
b/test/support/builders/user_builder.ex
index 6da16f71a90df664f9467633cfef851502f4c132..4bdaddc4abadbe598c21c26065a09615ce257133 100644
(file)
--- a/
test/support/builders/user_builder.ex
+++ b/
test/support/builders/user_builder.ex
@@
-10,7
+10,8
@@
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),
+ info: %{}
}
Map.merge(user, data)