summaryrefslogtreecommitdiff
path: root/test/support
diff options
context:
space:
mode:
Diffstat (limited to 'test/support')
-rw-r--r--test/support/factory.ex4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/support/factory.ex b/test/support/factory.ex
index af8e58bd1..3fc9cf710 100644
--- a/test/support/factory.ex
+++ b/test/support/factory.ex
@@ -22,7 +22,9 @@ defmodule Pleroma.Factory do
"id" => Pleroma.Web.ActivityPub.ActivityPub.generate_object_id,
"actor" => user.ap_id,
"to" => ["https://www.w3.org/ns/activitystreams#Public"],
- "published_at" => DateTime.utc_now() |> DateTime.to_iso8601
+ "published_at" => DateTime.utc_now() |> DateTime.to_iso8601,
+ "likes" => [],
+ "like_count" => 0
}
%Pleroma.Object{