diff options
author | Roger Braun <roger@rogerbraun.net> | 2017-04-14 18:08:47 +0200 |
---|---|---|
committer | Roger Braun <roger@rogerbraun.net> | 2017-04-14 18:09:30 +0200 |
commit | a926038cd096d3340749f071a183c46a987e8c77 (patch) | |
tree | fc0e39814698dc9bbaf4376dcfa77f306f30d222 /test/support | |
parent | 8c2aad1cabfc708084585a4f4afdccc481657d0e (diff) | |
download | pleroma-a926038cd096d3340749f071a183c46a987e8c77.tar.gz pleroma-a926038cd096d3340749f071a183c46a987e8c77.zip |
Add unliking to activitypub.
Diffstat (limited to 'test/support')
-rw-r--r-- | test/support/factory.ex | 4 |
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{ |