summaryrefslogtreecommitdiff
path: root/test/web/push/impl_test.exs
diff options
context:
space:
mode:
authorHaelwenn <contact+git.pleroma.social@hacktivis.me>2020-04-22 15:09:10 +0000
committerHaelwenn <contact+git.pleroma.social@hacktivis.me>2020-04-22 15:09:10 +0000
commit2e73c19edcea261953e2f47a337b77f810979e12 (patch)
tree3cde63fd73b0033b0152469e5d64dccacfe202e6 /test/web/push/impl_test.exs
parent1cd38dfffa88384284a8ae0be39f52f25c544936 (diff)
parent923513b6417973f700a80ee969c6c92ed2c9faee (diff)
downloadpleroma-2e73c19edcea261953e2f47a337b77f810979e12.tar.gz
pleroma-2e73c19edcea261953e2f47a337b77f810979e12.zip
Merge branch 'worker-messages' into 'develop'
Worker messages Closes #1705 See merge request pleroma/pleroma!2410
Diffstat (limited to 'test/web/push/impl_test.exs')
-rw-r--r--test/web/push/impl_test.exs4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/web/push/impl_test.exs b/test/web/push/impl_test.exs
index 9121d90e7..b2664bf28 100644
--- a/test/web/push/impl_test.exs
+++ b/test/web/push/impl_test.exs
@@ -63,12 +63,12 @@ defmodule Pleroma.Web.Push.ImplTest do
activity: activity
)
- assert Impl.perform(notif) == [:ok, :ok]
+ assert Impl.perform(notif) == {:ok, [:ok, :ok]}
end
@tag capture_log: true
test "returns error if notif does not match " do
- assert Impl.perform(%{}) == :error
+ assert Impl.perform(%{}) == {:error, :unknown_type}
end
test "successful message sending" do