aboutsummaryrefslogtreecommitdiff
path: root/test/support/factory.ex
diff options
context:
space:
mode:
authorMaksim Pechnikov <parallel588@gmail.com>2019-12-09 19:41:43 +0300
committerMaksim Pechnikov <parallel588@gmail.com>2019-12-09 19:41:43 +0300
commit2b821036c4bd84cee51c9fcace5a4b3764c3bba1 (patch)
tree811d75ef4b0442f3f2102d873fab4e10c777e7f1 /test/support/factory.ex
parent5876a9cb79e53f932d63e457610852031669a222 (diff)
parent0d2c13a119302d0d217a7cb61c28a01c620b1b61 (diff)
downloadpleroma-2b821036c4bd84cee51c9fcace5a4b3764c3bba1.tar.gz
Merge branch 'develop' into issue/1383
Diffstat (limited to 'test/support/factory.ex')
-rw-r--r--test/support/factory.ex3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/support/factory.ex b/test/support/factory.ex
index 35ba523a1..314f26ec9 100644
--- a/test/support/factory.ex
+++ b/test/support/factory.ex
@@ -31,7 +31,8 @@ defmodule Pleroma.Factory do
nickname: sequence(:nickname, &"nick#{&1}"),
password_hash: Comeonin.Pbkdf2.hashpwsalt("test"),
bio: sequence(:bio, &"Tester Number #{&1}"),
- last_digest_emailed_at: NaiveDateTime.utc_now()
+ last_digest_emailed_at: NaiveDateTime.utc_now(),
+ notification_settings: %Pleroma.User.NotificationSetting{}
}
%{