small fix in the rewrite_policy example
[akkoma] / test / captcha_test.exs
index 5e29b48b07d90d1645dd9d03dc8997010da6ca20..ac1d846e833f7d2f19e281b8e3cdd139afae318c 100644 (file)
@@ -12,8 +12,7 @@ defmodule Pleroma.CaptchaTest do
   alias Pleroma.Captcha.Native
 
   @ets_options [:ordered_set, :private, :named_table, {:read_concurrency, true}]
-
-  clear_config([Pleroma.Captcha, :enabled])
+  setup do: clear_config([Pleroma.Captcha, :enabled])
 
   describe "Kocaptcha" do
     setup do