Convert tests to all use clear_config instead of Pleroma.Config.put
[akkoma] / test / pleroma / web / mastodon_api / masto_fe_controller_test.exs
index a8ad025c97e895f2dce3ce1f922bd4700355c76d..ea66c708fcd2f9313ac9b01a28019727502abad6 100644 (file)
@@ -5,7 +5,6 @@
 defmodule Pleroma.Web.MastodonAPI.MastoFEControllerTest do
   use Pleroma.Web.ConnCase
 
-  alias Pleroma.Config
   alias Pleroma.User
 
   import Pleroma.Factory
@@ -55,7 +54,7 @@ defmodule Pleroma.Web.MastodonAPI.MastoFEControllerTest do
       conn: conn,
       path: path
     } do
-      Config.put([:instance, :public], false)
+      clear_config([:instance, :public], false)
 
       conn = get(conn, path)