From: William Pitcock Date: Thu, 29 Nov 2018 03:27:59 +0000 (+0000) Subject: tests: activitypub: fix broken test due to invalid child object X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=fe000f82f8e1a37a063c7260033f6c3fd275c8cc;p=akkoma tests: activitypub: fix broken test due to invalid child object --- 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"]