fix for updated hackney
authorAlexander Strizhakov <alex.strizhakov@gmail.com>
Sun, 31 May 2020 09:38:24 +0000 (12:38 +0300)
committerAlexander Strizhakov <alex.strizhakov@gmail.com>
Tue, 16 Jun 2020 12:54:22 +0000 (15:54 +0300)
warning: :hackney_connect.partial_chain/1 is undefined or private

test/config/config_db_test.exs

index a04575c6f16e7d3ca13010d66c0b7643e99b818f..8d753e255ccffbd6dcf98e57399872633ac5ca60 100644 (file)
@@ -382,12 +382,6 @@ defmodule Pleroma.ConfigDBTest do
       assert ConfigDB.to_elixir_types([%{"tuple" => [":key", "value"]}]) == [key: "value"]
     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
       assert ConfigDB.to_elixir_types([
                %{"tuple" => [":types", "Pleroma.PostgresTypes"]},