Tests: Fix tests failing because of info being null.

This commit is contained in:
lain 2019-11-01 14:16:00 +01:00
parent d52f9c144f
commit 6f5ac0819a

View file

@ -10,7 +10,8 @@ def build(data \\ %{}) 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)