summaryrefslogtreecommitdiff
path: root/test/web/chat_channel_test.exs
diff options
context:
space:
mode:
Diffstat (limited to 'test/web/chat_channel_test.exs')
-rw-r--r--test/web/chat_channel_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/chat_channel_test.exs b/test/web/chat_channel_test.exs
index 68c24a9f9..f18f3a212 100644
--- a/test/web/chat_channel_test.exs
+++ b/test/web/chat_channel_test.exs
@@ -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" => ""})