aboutsummaryrefslogtreecommitdiff
path: root/test/web/push/impl_test.exs
diff options
context:
space:
mode:
authorEgor Kislitsyn <egor@kislitsyn.com>2020-04-24 18:37:58 +0400
committerEgor Kislitsyn <egor@kislitsyn.com>2020-04-24 18:37:58 +0400
commitc56c0a3d23929f166f4d95e5c6e96bbf0df8a35e (patch)
tree6b6fffe4faeebbf7e103d16a427f6f68774b44d5 /test/web/push/impl_test.exs
parent364eecc49f137ae3c7798ad240983591e27b134c (diff)
parent2430b9bf90d6fde71885f5f0f8be767526be6208 (diff)
downloadpleroma-c56c0a3d23929f166f4d95e5c6e96bbf0df8a35e.tar.gz
Merge branch 'develop' into global-status-expiration
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