forked from AkkomaGang/akkoma
Tests: Fix tests failing because of info being null.
This commit is contained in:
parent
d52f9c144f
commit
6f5ac0819a
1 changed files with 2 additions and 1 deletions
|
@ -10,7 +10,8 @@ def build(data \\ %{}) do
|
||||||
password_hash: Comeonin.Pbkdf2.hashpwsalt("test"),
|
password_hash: Comeonin.Pbkdf2.hashpwsalt("test"),
|
||||||
bio: "A tester.",
|
bio: "A tester.",
|
||||||
ap_id: "some id",
|
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)
|
Map.merge(user, data)
|
||||||
|
|
Loading…
Reference in a new issue