projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Mix: Update linkify.
[akkoma]
/
test
/
pleroma
/
web
/
chat_channel_test.exs
diff --git
a/test/pleroma/web/chat_channel_test.exs
b/test/pleroma/web/chat_channel_test.exs
index e8c3d965e3ae1c9781f61562532712b819a2edf1..29999701c52f315a7a69ab38bd780e4629c81e6a 100644
(file)
--- a/
test/pleroma/web/chat_channel_test.exs
+++ b/
test/pleroma/web/chat_channel_test.exs
@@
-33,7
+33,7
@@
defmodule Pleroma.Web.ChatChannelTest do
end
test "it ignores messages above a certain length", %{socket: socket} do
end
test "it ignores messages above a certain length", %{socket: socket} do
-
Pleroma.Config.put
([:instance, :chat_limit], 2)
+
clear_config
([:instance, :chat_limit], 2)
push(socket, "new_msg", %{"text" => "123"})
refute_broadcast("new_msg", %{text: "123"})
end
push(socket, "new_msg", %{"text" => "123"})
refute_broadcast("new_msg", %{text: "123"})
end