summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-07-08 14:30:53 +0200
committerlain <lain@soykaf.club>2020-07-08 14:30:53 +0200
commit172f4aff8ef573c54902dc8fa135d69f50fea47c (patch)
tree956204ca8221f58ffe5467b56909c90eed54b15b /test
parent29fa75d00d1f550461b2ab1e59554e134208d419 (diff)
downloadpleroma-172f4aff8ef573c54902dc8fa135d69f50fea47c.tar.gz
pleroma-172f4aff8ef573c54902dc8fa135d69f50fea47c.zip
Transmogrifier: Move following to the pipeline.
Diffstat (limited to 'test')
-rw-r--r--test/web/activity_pub/transmogrifier/follow_handling_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/activity_pub/transmogrifier/follow_handling_test.exs b/test/web/activity_pub/transmogrifier/follow_handling_test.exs
index 06c39eed6..17e764ca1 100644
--- a/test/web/activity_pub/transmogrifier/follow_handling_test.exs
+++ b/test/web/activity_pub/transmogrifier/follow_handling_test.exs
@@ -160,7 +160,7 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier.FollowHandlingTest do
|> Poison.decode!()
|> Map.put("object", user.ap_id)
- with_mock Pleroma.User, [:passthrough], follow: fn _, _ -> {:error, :testing} end do
+ with_mock Pleroma.User, [:passthrough], follow: fn _, _, _ -> {:error, :testing} end do
{:ok, %Activity{data: %{"id" => id}}} = Transmogrifier.handle_incoming(data)
%Activity{} = activity = Activity.get_by_ap_id(id)