summaryrefslogtreecommitdiff
path: root/test/support
diff options
context:
space:
mode:
authorMaksim Pechnikov <parallel588@gmail.com>2020-09-18 07:08:37 +0300
committerMaksim Pechnikov <parallel588@gmail.com>2020-09-18 07:08:37 +0300
commit2ec0dcf00194544449a5d7768ab10777b294895b (patch)
tree1c2f097403f48e6f43894ac792ce77dc5992b32d /test/support
parent5a8ea0a5b07c22d567a60af36345483fe880b638 (diff)
parent49584a9928f02b461a0356332440084473ea6b69 (diff)
downloadpleroma-2ec0dcf00194544449a5d7768ab10777b294895b.tar.gz
pleroma-2ec0dcf00194544449a5d7768ab10777b294895b.zip
Merge branch 'develop' into issue/2099
Diffstat (limited to 'test/support')
-rw-r--r--test/support/factory.ex1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/support/factory.ex b/test/support/factory.ex
index 2fdfabbc5..fb82be0c4 100644
--- a/test/support/factory.ex
+++ b/test/support/factory.ex
@@ -31,6 +31,7 @@ defmodule Pleroma.Factory do
nickname: sequence(:nickname, &"nick#{&1}"),
password_hash: Pbkdf2.hash_pwd_salt("test"),
bio: sequence(:bio, &"Tester Number #{&1}"),
+ discoverable: true,
last_digest_emailed_at: NaiveDateTime.utc_now(),
last_refreshed_at: NaiveDateTime.utc_now(),
notification_settings: %Pleroma.User.NotificationSetting{},