Add the isAnnouncement comment property to test data

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-06-03 18:58:47 +02:00
parent d3164899f3
commit f699efe109
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -34,7 +34,8 @@ defmodule Mobilizon.Federation.ActivityPub.UtilsTest do
"inReplyTo" => comment.url,
"attributedTo" => reply.actor.url,
"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)
end