From: lain Date: Fri, 1 Nov 2019 13:16:00 +0000 (+0100) Subject: Tests: Fix tests failing because of info being null. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=6f5ac0819a7b4257239e2832a32a0fac4f98e407;p=akkoma Tests: Fix tests failing because of info being null. --- diff --git a/test/support/builders/user_builder.ex b/test/support/builders/user_builder.ex index 6da16f71a..4bdaddc4a 100644 --- 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)