summaryrefslogtreecommitdiff
path: root/test/web/activity_pub/utils_test.exs
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-05-25 13:57:27 +0200
committerlain <lain@soykaf.club>2020-05-25 13:57:27 +0200
commitee35bb5ac287e0ff913685256a826e759add3fb9 (patch)
tree971031903f987e4b70768ac1f91666fdfe6a10b4 /test/web/activity_pub/utils_test.exs
parent578ed3a37f28ecbd9fd976c54ee53e8ed2a6adff (diff)
parentec470c4c7717dc9479df9e7b70f9805dcf2f5e08 (diff)
downloadpleroma-ee35bb5ac287e0ff913685256a826e759add3fb9.tar.gz
pleroma-ee35bb5ac287e0ff913685256a826e759add3fb9.zip
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
Diffstat (limited to 'test/web/activity_pub/utils_test.exs')
-rw-r--r--test/web/activity_pub/utils_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/activity_pub/utils_test.exs b/test/web/activity_pub/utils_test.exs
index 9e0a0f1c4..15f03f193 100644
--- a/test/web/activity_pub/utils_test.exs
+++ b/test/web/activity_pub/utils_test.exs
@@ -334,7 +334,7 @@ defmodule Pleroma.Web.ActivityPub.UtilsTest do
assert object = Object.normalize(note_activity)
actor = insert(:user)
- {:ok, announce, _object} = ActivityPub.announce(actor, object)
+ {:ok, announce} = CommonAPI.repeat(note_activity.id, actor)
assert Utils.get_existing_announce(actor.ap_id, object) == announce
end
end