Use atoms as keys in ActivityPub.fetch_* functions options

This commit is contained in:
Egor Kislitsyn 2020-06-04 21:33:16 +04:00
commit 317e2b8d61
No known key found for this signature in database
GPG key ID: 1B49CB15B71E7805
27 changed files with 538 additions and 636 deletions

View file

@ -62,11 +62,11 @@ defmodule Mix.Tasks.Pleroma.RelayTest do
[undo_activity] =
ActivityPub.fetch_activities([], %{
"type" => "Undo",
"actor_id" => follower_id,
"limit" => 1,
"skip_preload" => true,
"invisible_actors" => true
type: "Undo",
actor_id: follower_id,
limit: 1,
skip_preload: true,
invisible_actors: true
})
assert undo_activity.data["type"] == "Undo"