aboutsummaryrefslogtreecommitdiff
path: root/test/web/push/impl_test.exs
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2019-10-16 16:16:39 +0200
committerlain <lain@soykaf.club>2019-10-16 16:16:39 +0200
commit6e4f52f8a2e510273149acbaf629521d1b4aec2e (patch)
tree0f6210fe8dfe0b716f2fc9721df0d5a8f807294f /test/web/push/impl_test.exs
parente3b4a3e96b2ffbc6d920155cd41687414045d4d6 (diff)
downloadpleroma-6e4f52f8a2e510273149acbaf629521d1b4aec2e.tar.gz
Introduce new ingestion pipeline structure, implement internal Likes with it.
Diffstat (limited to 'test/web/push/impl_test.exs')
-rw-r--r--test/web/push/impl_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/push/impl_test.exs b/test/web/push/impl_test.exs
index 2f6ce4bd2..36c69c7c9 100644
--- a/test/web/push/impl_test.exs
+++ b/test/web/push/impl_test.exs
@@ -152,7 +152,7 @@ defmodule Pleroma.Web.Push.ImplTest do
"<span>Lorem ipsum dolor sit amet</span>, consectetur :firefox: adipiscing elit. Fusce sagittis finibus turpis."
})
- {:ok, activity, _} = CommonAPI.favorite(activity.id, user)
+ {:ok, activity} = CommonAPI.favorite(user, activity.id)
object = Object.normalize(activity)
assert Impl.format_body(%{activity: activity}, user, object) == "@Bob has favorited your post"