Merge develop
[akkoma] / test / web / chat_channel_test.exs
index 68c24a9f97966606cf1f2417d88110a12f6c47fa..f18f3a212ea28d3a5e53aab2f9bfa2dd679ed33d 100644 (file)
@@ -21,7 +21,7 @@ defmodule Pleroma.Web.ChatChannelTest do
   end
 
   describe "message lengths" do
-    clear_config([:instance, :chat_limit])
+    setup do: clear_config([:instance, :chat_limit])
 
     test "it ignores messages of length zero", %{socket: socket} do
       push(socket, "new_msg", %{"text" => ""})