projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'feature/1631-redesign-mrf-configuration' into 'develop'
[akkoma]
/
test
/
workers
/
cron
/
digest_emails_worker_test.exs
diff --git
a/test/workers/cron/digest_emails_worker_test.exs
b/test/workers/cron/digest_emails_worker_test.exs
index 5d65b9fefff931f92e92ef4509bcb4921fc80381..f9bc50db52cc825a87f9dd2a0d5cfdfaec1db9d8 100644
(file)
--- a/
test/workers/cron/digest_emails_worker_test.exs
+++ b/
test/workers/cron/digest_emails_worker_test.exs
@@
-11,7
+11,7
@@
defmodule Pleroma.Workers.Cron.DigestEmailsWorkerTest do
alias Pleroma.User
alias Pleroma.Web.CommonAPI
alias Pleroma.User
alias Pleroma.Web.CommonAPI
- clear_config([:email_notifications, :digest])
+
setup do:
clear_config([:email_notifications, :digest])
setup do
Pleroma.Config.put([:email_notifications, :digest], %{
setup do
Pleroma.Config.put([:email_notifications, :digest], %{
@@
-29,7
+29,7
@@
defmodule Pleroma.Workers.Cron.DigestEmailsWorkerTest do
user2 = insert(:user, last_digest_emailed_at: date)
{:ok, _} = User.switch_email_notifications(user2, "digest", true)
user2 = insert(:user, last_digest_emailed_at: date)
{:ok, _} = User.switch_email_notifications(user2, "digest", true)
- CommonAPI.post(user, %{
"status" =>
"hey @#{user2.nickname}!"})
+ CommonAPI.post(user, %{
status:
"hey @#{user2.nickname}!"})
{:ok, user2: user2}
end
{:ok, user2: user2}
end