diff options
author | Haelwenn <contact+git.pleroma.social@hacktivis.me> | 2023-12-29 23:18:34 +0000 |
---|---|---|
committer | Haelwenn <contact+git.pleroma.social@hacktivis.me> | 2023-12-29 23:18:34 +0000 |
commit | f74f5e0a56277507e7bc3df7251ec58b6c8b41cb (patch) | |
tree | b468afa0052d52069e58808d17f3629a9ef13bd7 /test | |
parent | 8ac4458630026387a5394b427daa409b0d2667ba (diff) | |
parent | 833117f5738c286864d525aea9a87d1a7c193ff3 (diff) |
Merge branch 'publisher' into 'develop'
Discard some failed publisher jobs
See merge request pleroma/pleroma!4022
Diffstat (limited to 'test')
-rw-r--r-- | test/pleroma/web/activity_pub/publisher_test.exs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/pleroma/web/activity_pub/publisher_test.exs b/test/pleroma/web/activity_pub/publisher_test.exs index bab25c8ab..7aa06a5c4 100644 --- a/test/pleroma/web/activity_pub/publisher_test.exs +++ b/test/pleroma/web/activity_pub/publisher_test.exs @@ -212,7 +212,8 @@ defmodule Pleroma.Web.ActivityPub.PublisherTest do actor = insert(:user) inbox = "http://404.site/users/nick1/inbox" - assert {:error, _} = Publisher.publish_one(%{inbox: inbox, json: "{}", actor: actor, id: 1}) + assert {:discard, _} = + Publisher.publish_one(%{inbox: inbox, json: "{}", actor: actor, id: 1}) assert called(Instances.set_unreachable(inbox)) end |