Merge branch 'elixir-1.9' into 'develop'
[akkoma] / test / http / connection_test.exs
index 0f62eddd26db23537ed520db87e3680befb683e1..7c94a50b242a6701652254770d8e4ed0ff05ab9c 100644 (file)
@@ -3,7 +3,7 @@
 # SPDX-License-Identifier: AGPL-3.0-only
 
 defmodule Pleroma.HTTP.ConnectionTest do
-  use ExUnit.Case, async: true
+  use ExUnit.Case
   use Pleroma.Tests.Helpers
 
   import ExUnit.CaptureLog
@@ -82,7 +82,7 @@ defmodule Pleroma.HTTP.ConnectionTest do
   end
 
   describe "options/3" do
-    clear_config([:http, :proxy_url])
+    setup do: clear_config([:http, :proxy_url])
 
     test "without proxy_url in config" do
       Config.delete([:http, :proxy_url])