summaryrefslogtreecommitdiff
path: root/test/pleroma/web/rich_media/card_test.exs
diff options
context:
space:
mode:
Diffstat (limited to 'test/pleroma/web/rich_media/card_test.exs')
-rw-r--r--test/pleroma/web/rich_media/card_test.exs3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/pleroma/web/rich_media/card_test.exs b/test/pleroma/web/rich_media/card_test.exs
index 33d07127f..9541627c1 100644
--- a/test/pleroma/web/rich_media/card_test.exs
+++ b/test/pleroma/web/rich_media/card_test.exs
@@ -39,6 +39,9 @@ defmodule Pleroma.Web.RichMedia.CardTest do
content_type: "text/markdown"
})
+ Pleroma.Web.ActivityPub.ActivityPubMock
+ |> expect(:stream_out, fn ^activity -> nil end)
+
assert_enqueued(
worker: RichMediaWorker,
args: %{"url" => url, "activity_id" => activity.id}