summaryrefslogtreecommitdiff
path: root/test/daemons
diff options
context:
space:
mode:
authorIvan Tashkinov <ivantashkinov@gmail.com>2019-10-16 21:59:21 +0300
committerIvan Tashkinov <ivantashkinov@gmail.com>2019-10-16 21:59:21 +0300
commit10ff01acd95d42314b4eb923e5b7a7191356b73e (patch)
treedc56d5f466ddae5d4b85e4584f21aa9270c7ebfc /test/daemons
parente3b4a3e96b2ffbc6d920155cd41687414045d4d6 (diff)
downloadpleroma-10ff01acd95d42314b4eb923e5b7a7191356b73e.tar.gz
pleroma-10ff01acd95d42314b4eb923e5b7a7191356b73e.zip
[#1304] Moved all non-mutes / non-blocks fields from User.Info to User. WIP.
Diffstat (limited to 'test/daemons')
-rw-r--r--test/daemons/digest_email_daemon_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/daemons/digest_email_daemon_test.exs b/test/daemons/digest_email_daemon_test.exs
index 3168f3b9a..faf592d5f 100644
--- a/test/daemons/digest_email_daemon_test.exs
+++ b/test/daemons/digest_email_daemon_test.exs
@@ -20,7 +20,7 @@ defmodule Pleroma.DigestEmailDaemonTest do
|> Timex.to_naive_datetime()
user2 = insert(:user, last_digest_emailed_at: date)
- User.switch_email_notifications(user2, "digest", true)
+ {:ok, _} = User.switch_email_notifications(user2, "digest", true)
CommonAPI.post(user, %{"status" => "hey @#{user2.nickname}!"})
DigestEmailDaemon.perform()