Add the isAnnouncement comment property to test data
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
d3164899f3
commit
f699efe109
|
@ -34,7 +34,8 @@ defmodule Mobilizon.Federation.ActivityPub.UtilsTest do
|
||||||
"inReplyTo" => comment.url,
|
"inReplyTo" => comment.url,
|
||||||
"attributedTo" => reply.actor.url,
|
"attributedTo" => reply.actor.url,
|
||||||
"mediaType" => "text/html",
|
"mediaType" => "text/html",
|
||||||
"published" => reply.published_at |> DateTime.to_iso8601()
|
"published" => reply.published_at |> DateTime.to_iso8601(),
|
||||||
|
"isAnnouncement" => false
|
||||||
} == Converter.Comment.model_to_as(reply)
|
} == Converter.Comment.model_to_as(reply)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue