Improved in-test config management functions.
[akkoma] / test / web / ostatus / ostatus_controller_test.exs
index 3b84358e4a66009f15bc8df5aecf1e7674790367..6a3dcf2cdceaf4c497d23f68a472581990fb6f43 100644 (file)
@@ -17,9 +17,7 @@ defmodule Pleroma.Web.OStatus.OStatusControllerTest do
     :ok
   end
 
-  clear_config([:instance, :federating]) do
-    Config.put([:instance, :federating], true)
-  end
+  clear_config([:instance, :federating], true)
 
   # Note: see ActivityPubControllerTest for JSON format tests
   describe "GET /objects/:uuid (text/html)" do