projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Mastodon API: Add a setting to hide follow/follower count from the user view (`hide_f...
[akkoma]
/
test
/
tasks
/
digest_test.exs
diff --git
a/test/tasks/digest_test.exs
b/test/tasks/digest_test.exs
index 4bfa1fb93beba44eb2bf75834acd6f91720e48a9..96d762685b2c87e7d0125c0475d9f9749be4290b 100644
(file)
--- a/
test/tasks/digest_test.exs
+++ b/
test/tasks/digest_test.exs
@@
-4,6
+4,7
@@
defmodule Mix.Tasks.Pleroma.DigestTest do
import Pleroma.Factory
import Swoosh.TestAssertions
import Pleroma.Factory
import Swoosh.TestAssertions
+ alias Pleroma.Tests.ObanHelpers
alias Pleroma.Web.CommonAPI
setup_all do
alias Pleroma.Web.CommonAPI
setup_all do
@@
-39,6
+40,8
@@
defmodule Mix.Tasks.Pleroma.DigestTest do
:ok = Mix.Tasks.Pleroma.Digest.run(["test", user2.nickname, yesterday_date])
:ok = Mix.Tasks.Pleroma.Digest.run(["test", user2.nickname, yesterday_date])
+ ObanHelpers.perform_all()
+
assert_receive {:mix_shell, :info, [message]}
assert message =~ "Digest email have been sent"
assert_receive {:mix_shell, :info, [message]}
assert message =~ "Digest email have been sent"