Transmogrifier tests: Extract like tests.

This commit is contained in:
lain 2020-05-04 14:45:28 +02:00
commit 335aabc39c
3 changed files with 79 additions and 56 deletions

View file

@ -32,6 +32,7 @@ defmodule Pleroma.Factory do
password_hash: Comeonin.Pbkdf2.hashpwsalt("test"),
bio: sequence(:bio, &"Tester Number #{&1}"),
last_digest_emailed_at: NaiveDateTime.utc_now(),
last_refreshed_at: NaiveDateTime.utc_now(),
notification_settings: %Pleroma.User.NotificationSetting{}
}