1
0
mirror of https://git.pleroma.social/sjw/pleroma.git synced 2024-12-27 12:55:30 +01:00

tests: activitypub: fix broken test due to invalid child object

This commit is contained in:
William Pitcock 2018-11-29 03:27:59 +00:00
parent f168a2add6
commit fe000f82f8

View File

@ -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"]