RichMedia: test that activity is streamed out

This commit is contained in:
Mark Felder 2024-06-24 09:46:55 -04:00
commit b135fa35a1
4 changed files with 10 additions and 2 deletions

View file

@ -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}