fix tests

This commit is contained in:
stwf 2020-06-15 12:25:03 -04:00
parent 26f710b9e3
commit faba1a6e33
2 changed files with 3 additions and 4 deletions

View File

@ -30,8 +30,8 @@ defmodule Pleroma.Web.Preload.Providers.Timelines do
defp get_public_timeline(local_only) do
activities =
ActivityPub.fetch_public_activities(%{
"type" => ["Create"],
"local_only" => local_only
type: ["Create"],
local_only: local_only
})
StatusView.render("index.json", activities: activities, for: nil, as: :activity)

View File

@ -145,8 +145,7 @@ defmodule Pleroma.Web.NodeInfoTest do
"shareable_emoji_packs",
"multifetch",
"pleroma_emoji_reactions",
"pleroma:api/v1/notifications:include_types_filter",
"pleroma_chat_messages"
"pleroma:api/v1/notifications:include_types_filter"
]
assert MapSet.subset?(