Skip to content
Snippets Groups Projects
Commit fe000f82 authored by kaniini's avatar kaniini
Browse files

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

parent f168a2ad
No related branches found
No related tags found
2 merge requests!1912Feature/static fe,!473database compaction
......@@ -93,7 +93,11 @@ test "removes doubled 'to' recipients" do
to: ["user1", "user1", "user2"],
actor: user,
context: "",
object: %{}
object: %{
"to" => ["user1", "user1", "user2"],
"type" => "Note",
"content" => "testing"
}
})
assert activity.data["to"] == ["user1", "user2"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment