Convert tests to all use clear_config instead of Pleroma.Config.put
[akkoma] / test / pleroma / repo / migrations / autolinker_to_linkify_test.exs
index b4106ef8e477034679d12a78665494dca28d7b3c..a7d4d493cc4deac21c74d8b33a342c61a481aba9 100644 (file)
@@ -37,7 +37,7 @@ defmodule Pleroma.Repo.Migrations.AutolinkerToLinkifyTest do
              strip_prefix: false
            ]
 
-    Pleroma.Config.put(Pleroma.Formatter, new_opts)
+    clear_config(Pleroma.Formatter, new_opts)
     assert new_opts == Pleroma.Config.get(Pleroma.Formatter)
 
     {text, _mentions, []} =