mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 16:40:29 +00:00
tests: activitypub: fix broken test due to invalid child object
This commit is contained in:
parent
f168a2add6
commit
fe000f82f8
1 changed files with 5 additions and 1 deletions
|
@ -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"]
|
||||
|
|
Loading…
Reference in a new issue