projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update mogrify package
[akkoma]
/
test
/
web
/
activity_pub
/
transmogrifier
/
follow_handling_test.exs
diff --git
a/test/web/activity_pub/transmogrifier/follow_handling_test.exs
b/test/web/activity_pub/transmogrifier/follow_handling_test.exs
index 06c39eed67e074c00e83d4000e2435c6ee7d7491..17e764ca14f835d2178640eed9730a1eefb8e5c1 100644
(file)
--- 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)
|> 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)
{:ok, %Activity{data: %{"id" => id}}} = Transmogrifier.handle_incoming(data)
%Activity{} = activity = Activity.get_by_ap_id(id)