summaryrefslogtreecommitdiff
path: root/test/web/push/impl_test.exs
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-04-23 15:47:08 +0200
committerlain <lain@soykaf.club>2020-04-23 15:47:08 +0200
commitec7335535d857c6777798ed08dab357b07fb6efa (patch)
tree09b32798fbaa271c6ea33912899cc067e0cdd495 /test/web/push/impl_test.exs
parent1d6338f2d38284e94e17be58c21c7f34b5621ab7 (diff)
parent1b5f8d19eeccfe202c0377079caa6a1d6f3cacb5 (diff)
downloadpleroma-ec7335535d857c6777798ed08dab357b07fb6efa.tar.gz
pleroma-ec7335535d857c6777798ed08dab357b07fb6efa.zip
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
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