projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'notification-pleroma-settings' into 'develop'
[akkoma]
/
test
/
web
/
push
/
impl_test.exs
diff --git
a/test/web/push/impl_test.exs
b/test/web/push/impl_test.exs
index 3f9f3d809f97dbcb738ebe81294d054cedaedd6e..6bac2c9f6e383c8cfc581ae644aa49a8e6d3739a 100644
(file)
--- a/
test/web/push/impl_test.exs
+++ b/
test/web/push/impl_test.exs
@@
-64,17
+64,19
@@
defmodule Pleroma.Web.Push.ImplTest do
}
)
}
)
- assert Impl.perform
_send
(notif) == [:ok, :ok]
+ assert Impl.perform(notif) == [:ok, :ok]
end
end
+ @tag capture_log: true
test "returns error if notif does not match " do
test "returns error if notif does not match " do
- assert Impl.perform
_send
(%{}) == :error
+ assert Impl.perform(%{}) == :error
end
test "successful message sending" do
assert Impl.push_message(@message, @sub, @api_key, %Subscription{}) == :ok
end
end
test "successful message sending" do
assert Impl.push_message(@message, @sub, @api_key, %Subscription{}) == :ok
end
+ @tag capture_log: true
test "fail message sending" do
assert Impl.push_message(
@message,
test "fail message sending" do
assert Impl.push_message(
@message,