diff options
author | William Pitcock <nenolod@dereferenced.org> | 2018-11-29 03:27:59 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-12-04 04:52:09 +0000 |
commit | fe000f82f8e1a37a063c7260033f6c3fd275c8cc (patch) | |
tree | bd2395323a6fc1500b37b6dc0bc1d58b8f7e2f6c /test | |
parent | f168a2add66a312aa9911c880806534899f3fe08 (diff) | |
download | pleroma-fe000f82f8e1a37a063c7260033f6c3fd275c8cc.tar.gz |
tests: activitypub: fix broken test due to invalid child object
Diffstat (limited to 'test')
-rw-r--r-- | test/web/activity_pub/activity_pub_test.exs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/web/activity_pub/activity_pub_test.exs b/test/web/activity_pub/activity_pub_test.exs index afdf5c06a..231a334f9 100644 --- a/test/web/activity_pub/activity_pub_test.exs +++ b/test/web/activity_pub/activity_pub_test.exs @@ -93,7 +93,11 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubTest do to: ["user1", "user1", "user2"], actor: user, context: "", - object: %{} + object: %{ + "to" => ["user1", "user1", "user2"], + "type" => "Note", + "content" => "testing" + } }) assert activity.data["to"] == ["user1", "user2"] |