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 32170873de695f031c552c8005be850488752cad..29999701c52f315a7a69ab38bd780e4629c81e6a 100644
(file)
--- a/
test/pleroma/web/chat_channel_test.exs
+++ b/
test/pleroma/web/chat_channel_test.exs
@@
-1,5
+1,5
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-202
0
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-202
1
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.ChatChannelTest do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.ChatChannelTest do
@@
-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