fix for updated hackney

warning: :hackney_connect.partial_chain/1 is undefined or private
This commit is contained in:
Alexander Strizhakov 2020-05-31 12:38:24 +03:00
parent 9a4fde9766
commit 23decaab81
No known key found for this signature in database
GPG key ID: 022896A53AEF1381

View file

@ -382,12 +382,6 @@ defmodule Pleroma.ConfigDBTest do
assert ConfigDB.to_elixir_types([%{"tuple" => [":key", "value"]}]) == [key: "value"] assert ConfigDB.to_elixir_types([%{"tuple" => [":key", "value"]}]) == [key: "value"]
end end
test "keyword with partial_chain key" do
assert ConfigDB.to_elixir_types([
%{"tuple" => [":partial_chain", "&:hackney_connect.partial_chain/1"]}
]) == [partial_chain: &:hackney_connect.partial_chain/1]
end
test "keyword" do test "keyword" do
assert ConfigDB.to_elixir_types([ assert ConfigDB.to_elixir_types([
%{"tuple" => [":types", "Pleroma.PostgresTypes"]}, %{"tuple" => [":types", "Pleroma.PostgresTypes"]},