Use atoms as keys in ActivityPub.fetch_* functions options
This commit is contained in:
parent
f5cb1f3616
commit
317e2b8d61
27 changed files with 538 additions and 636 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue