From f699efe10901299cdf08596102fa104915dc54af Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Thu, 3 Jun 2021 18:58:47 +0200 Subject: [PATCH] Add the isAnnouncement comment property to test data Signed-off-by: Thomas Citharel --- test/federation/activity_pub/utils_test.exs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/federation/activity_pub/utils_test.exs b/test/federation/activity_pub/utils_test.exs index 40468d918..d62f00d5e 100644 --- a/test/federation/activity_pub/utils_test.exs +++ b/test/federation/activity_pub/utils_test.exs @@ -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