summaryrefslogtreecommitdiff
path: root/test/web/push/impl_test.exs
diff options
context:
space:
mode:
authorMaksim Pechnikov <parallel588@gmail.com>2020-04-07 14:09:43 +0300
committerMaksim Pechnikov <parallel588@gmail.com>2020-04-07 14:09:43 +0300
commit2b7d7bbd2dc3121488592a958c29ba6a418e0104 (patch)
treed4d963f9cc8afeae63a7666acab78eae8a8a8c43 /test/web/push/impl_test.exs
parentdbcfac11b45b367185a3b18a2db3e3fb07e8f20d (diff)
parent1d4ab06505ec5143dbb1d78d718fa9efd1497751 (diff)
downloadpleroma-2b7d7bbd2dc3121488592a958c29ba6a418e0104.tar.gz
pleroma-2b7d7bbd2dc3121488592a958c29ba6a418e0104.zip
Merge branch 'develop' into issue/1276
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 9f931c941..9121d90e7 100644
--- a/test/web/push/impl_test.exs
+++ b/test/web/push/impl_test.exs
@@ -170,7 +170,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"