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

@ -1122,7 +1122,7 @@ defmodule Pleroma.UserTest do
assert [%{activity | thread_muted?: CommonAPI.thread_muted?(user2, activity)}] ==
ActivityPub.fetch_activities([user2.ap_id | User.following(user2)], %{
"user" => user2
user: user2
})
{:ok, _user} = User.deactivate(user)
@ -1132,7 +1132,7 @@ defmodule Pleroma.UserTest do
assert [] ==
ActivityPub.fetch_activities([user2.ap_id | User.following(user2)], %{
"user" => user2
user: user2
})
end
end