summaryrefslogtreecommitdiff
path: root/test/web/push/impl_test.exs
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-04-06 11:59:01 +0000
committerlain <lain@soykaf.club>2020-04-06 11:59:01 +0000
commit349b9d86dc25ae9514781ef2ac56953fa357a031 (patch)
tree82fe9db708847369f7cbef107da9c6734cea8e4d /test/web/push/impl_test.exs
parent8444e7ee9651f3b1836954a3891b5ae26ee79f99 (diff)
parent772bc258cde11b3203ad9420f69321ccd56db91a (diff)
downloadpleroma-349b9d86dc25ae9514781ef2ac56953fa357a031.tar.gz
pleroma-349b9d86dc25ae9514781ef2ac56953fa357a031.zip
Merge branch 'remake-remodel-2' into 'develop'
Ingestion Pipeline Revamp See merge request pleroma/pleroma!2315
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"