summaryrefslogtreecommitdiff
path: root/test/web/push/impl_test.exs
diff options
context:
space:
mode:
authorMaksim Pechnikov <parallel588@gmail.com>2020-04-10 07:09:28 +0300
committerMaksim Pechnikov <parallel588@gmail.com>2020-04-10 07:09:28 +0300
commit648cc699e551324a067cd1b906df5f497ade5861 (patch)
tree3ddcee32eb0b61770709422aaa266167a8254e28 /test/web/push/impl_test.exs
parent591f7015d91b383dae1ee29576d13c0fad65cad6 (diff)
parentc433ed9dbb1db9777f235527e06c9c8bec3b1436 (diff)
downloadpleroma-648cc699e551324a067cd1b906df5f497ade5861.tar.gz
pleroma-648cc699e551324a067cd1b906df5f497ade5861.zip
Merge branch 'develop' into support/update_oban
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"