fix tests
This commit is contained in:
parent
26f710b9e3
commit
faba1a6e33
2 changed files with 3 additions and 4 deletions
|
@ -30,8 +30,8 @@ defp public_timeline(_params), do: get_public_timeline(true)
|
||||||
defp get_public_timeline(local_only) do
|
defp get_public_timeline(local_only) do
|
||||||
activities =
|
activities =
|
||||||
ActivityPub.fetch_public_activities(%{
|
ActivityPub.fetch_public_activities(%{
|
||||||
"type" => ["Create"],
|
type: ["Create"],
|
||||||
"local_only" => local_only
|
local_only: local_only
|
||||||
})
|
})
|
||||||
|
|
||||||
StatusView.render("index.json", activities: activities, for: nil, as: :activity)
|
StatusView.render("index.json", activities: activities, for: nil, as: :activity)
|
||||||
|
|
|
@ -145,8 +145,7 @@ test "it shows default features flags", %{conn: conn} do
|
||||||
"shareable_emoji_packs",
|
"shareable_emoji_packs",
|
||||||
"multifetch",
|
"multifetch",
|
||||||
"pleroma_emoji_reactions",
|
"pleroma_emoji_reactions",
|
||||||
"pleroma:api/v1/notifications:include_types_filter",
|
"pleroma:api/v1/notifications:include_types_filter"
|
||||||
"pleroma_chat_messages"
|
|
||||||
]
|
]
|
||||||
|
|
||||||
assert MapSet.subset?(
|
assert MapSet.subset?(
|
||||||
|
|
Loading…
Reference in a new issue