summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTusooa Zhu <tusooa@kazv.moe>2021-09-12 16:45:17 -0400
committerTusooa Zhu <tusooa@kazv.moe>2021-12-28 01:11:08 -0500
commite41eee5ed1c4e7001a28dababe046e28357d2ffd (patch)
tree86b7e9fb577952c38cb9e67f553cdcc8c01d1acd /test
parent1d8abf2511317927794c0c9f5f5c2a6efdb66fed (diff)
downloadpleroma-e41eee5ed1c4e7001a28dababe046e28357d2ffd.tar.gz
pleroma-e41eee5ed1c4e7001a28dababe046e28357d2ffd.zip
Make Move activity federate properly
Ref: emit-move
Diffstat (limited to 'test')
-rw-r--r--test/pleroma/web/activity_pub/activity_pub_test.exs5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/pleroma/web/activity_pub/activity_pub_test.exs b/test/pleroma/web/activity_pub/activity_pub_test.exs
index 574ef0d71..3021f2995 100644
--- a/test/pleroma/web/activity_pub/activity_pub_test.exs
+++ b/test/pleroma/web/activity_pub/activity_pub_test.exs
@@ -1739,9 +1739,12 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubTest do
"target" => ^new_ap_id,
"type" => "Move"
},
- local: true
+ local: true,
+ recipients: recipients
} = activity
+ assert old_user.follower_address in recipients
+
params = %{
"op" => "move_following",
"origin_id" => old_user.id,