diff --git a/config/config.exs b/config/config.exs index 4af1b94d3..ca1de3fa2 100644 --- a/config/config.exs +++ b/config/config.exs @@ -178,8 +178,7 @@ config :tesla, adapter: Tesla.Adapter.Gun config :pleroma, :http, proxy_url: nil, send_user_agent: true, - adapter: [ - ] + adapter: [] config :pleroma, :instance, name: "Pleroma", diff --git a/test/reverse_proxy/client/tesla_test.exs b/test/reverse_proxy/client/tesla_test.exs index db58c805b..c9ea3f6c0 100644 --- a/test/reverse_proxy/client/tesla_test.exs +++ b/test/reverse_proxy/client/tesla_test.exs @@ -7,6 +7,7 @@ defmodule Pleroma.ReverseProxy.Client.TeslaTest do setup_all do Pleroma.Config.put([Pleroma.Gun.API], Pleroma.Gun.API.Gun) + on_exit(fn -> Pleroma.Config.put([Pleroma.Gun.API], Pleroma.Gun.API.Mock) end)