Merge branch 'revert-60cc7d6c' into 'develop'
[akkoma] / test / plugs / instance_static_test.exs
index 2e9d2dc466d00fb77f4ad7d2b187549501bee796..b8f070d6ad6f7b7742b15ab27b2df56db54abc51 100644 (file)
@@ -12,7 +12,7 @@ defmodule Pleroma.Web.RuntimeStaticPlugTest do
     on_exit(fn -> File.rm_rf(@dir) end)
   end
 
-  clear_config([:instance, :static_dir], @dir)
+  setup do: clear_config([:instance, :static_dir], @dir)
 
   test "overrides index" do
     bundled_index = get(build_conn(), "/")