Merge branch 'chore/fast_sanitize_bump' into 'develop'
[akkoma] / test / support / builders / user_builder.ex
index f58e1b0ad370df0422fd623657b78334bb992664..fcfea666f1a2f517f2b8a698e632cc0f1c1a9728 100644 (file)
@@ -9,7 +9,9 @@ defmodule Pleroma.Builders.UserBuilder do
       nickname: "testname",
       password_hash: Comeonin.Pbkdf2.hashpwsalt("test"),
       bio: "A tester.",
-      ap_id: "some id"
+      ap_id: "some id",
+      last_digest_emailed_at: NaiveDateTime.truncate(NaiveDateTime.utc_now(), :second),
+      notification_settings: %Pleroma.User.NotificationSetting{}
     }
 
     Map.merge(user, data)