Merge branch 'following-relationships-optimizations' into 'develop'
[akkoma] / test / web / pleroma_api / controllers / account_controller_test.exs
index 3853a9bbb8bc97c173a10230167625a067cabb7b..ae5334015aa56e029203a922328236a6050b9d10 100644 (file)
@@ -27,9 +27,7 @@ defmodule Pleroma.Web.PleromaAPI.AccountControllerTest do
       [user: user]
     end
 
-    clear_config([:instance, :account_activation_required]) do
-      Config.put([:instance, :account_activation_required], true)
-    end
+    setup do: clear_config([:instance, :account_activation_required], true)
 
     test "resend account confirmation email", %{conn: conn, user: user} do
       conn