summaryrefslogtreecommitdiff
path: root/test/web/push/impl_test.exs
diff options
context:
space:
mode:
authorEgor Kislitsyn <egor@kislitsyn.com>2020-04-22 20:18:12 +0400
committerEgor Kislitsyn <egor@kislitsyn.com>2020-04-22 20:18:12 +0400
commit6c26feed01b2e836e7ebdefe9683ddb03cb57757 (patch)
tree4b143a6708d405e5fc6ebf69910c9ae18066502b /test/web/push/impl_test.exs
parent11433cd38d9761ddf3fdb94f8c39526910b975c1 (diff)
parent28f8fcf8b034223209ec451d0c2c836124ec93f4 (diff)
downloadpleroma-6c26feed01b2e836e7ebdefe9683ddb03cb57757.tar.gz
pleroma-6c26feed01b2e836e7ebdefe9683ddb03cb57757.zip
Merge branch 'develop' into openapi/account
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