RichMedia: test that activity is streamed out
This commit is contained in:
parent
634e3d4155
commit
b135fa35a1
4 changed files with 10 additions and 2 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue