diff options
author | Haelwenn <contact+git.pleroma.social@hacktivis.me> | 2020-05-22 05:47:53 +0000 |
---|---|---|
committer | Haelwenn <contact+git.pleroma.social@hacktivis.me> | 2020-05-22 05:47:53 +0000 |
commit | 7b02bfca51f95f56a5d12724b80b16019507cce9 (patch) | |
tree | 780c7b06b7cbb8ee7e39d113948776416aebae4e /test/web/activity_pub/utils_test.exs | |
parent | a57e7f3503c485de64c4e001529a6e06a1a35b25 (diff) | |
parent | bf1b221f94a53c90cda832e9bfb6c5fa0e6524f2 (diff) | |
download | pleroma-7b02bfca51f95f56a5d12724b80b16019507cce9.tar.gz pleroma-7b02bfca51f95f56a5d12724b80b16019507cce9.zip |
Merge branch 'announce-validator' into 'develop'
Announce validator
See merge request pleroma/pleroma!2567
Diffstat (limited to 'test/web/activity_pub/utils_test.exs')
-rw-r--r-- | test/web/activity_pub/utils_test.exs | 2 |
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 |