Use finch everywhere #33

Merged
floatingghost merged 15 commits from finch into develop 2022-07-04 16:30:39 +00:00
Showing only changes of commit 7dc152efac - Show all commits

View file

@ -1501,15 +1501,14 @@ defmodule Pleroma.Web.AdminAPI.ConfigControllerTest do
clear_config(:database_config_whitelist, [ clear_config(:database_config_whitelist, [
{:pleroma, :instance}, {:pleroma, :instance},
{:pleroma, :activitypub}, {:pleroma, :activitypub},
{:pleroma, Pleroma.Upload}, {:pleroma, Pleroma.Upload}
{:esshd}
]) ])
conn = get(conn, "/api/pleroma/admin/config/descriptions") conn = get(conn, "/api/pleroma/admin/config/descriptions")
children = json_response_and_validate_schema(conn, 200) children = json_response_and_validate_schema(conn, 200)
assert length(children) == 4 assert length(children) == 3
assert Enum.count(children, fn c -> c["group"] == ":pleroma" end) == 3 assert Enum.count(children, fn c -> c["group"] == ":pleroma" end) == 3
@ -1521,9 +1520,6 @@ defmodule Pleroma.Web.AdminAPI.ConfigControllerTest do
web_endpoint = Enum.find(children, fn c -> c["key"] == "Pleroma.Upload" end) web_endpoint = Enum.find(children, fn c -> c["key"] == "Pleroma.Upload" end)
assert web_endpoint["children"] assert web_endpoint["children"]
esshd = Enum.find(children, fn c -> c["group"] == ":esshd" end)
assert esshd["children"]
end end
end end
end end