aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2020-08-04 10:42:52 -0500
committerMark Felder <feld@feld.me>2021-06-01 11:49:46 -0500
commitd6432a65da7ad11f1383d465370c11de5a2d7ddc (patch)
tree10c977a0ca4d5e1f35d92df8ace756dadc1d07b5 /test
parent4a181982c34c774c9ed4b76ce1d95f6c33fce9d5 (diff)
downloadpleroma-d6432a65da7ad11f1383d465370c11de5a2d7ddc.tar.gz
Move shout configuration from :instance, update docs and changelog
Diffstat (limited to 'test')
-rw-r--r--test/pleroma/web/shout_channel_test.ex4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/pleroma/web/shout_channel_test.ex b/test/pleroma/web/shout_channel_test.ex
index ba6730ceb..b4d661689 100644
--- a/test/pleroma/web/shout_channel_test.ex
+++ b/test/pleroma/web/shout_channel_test.ex
@@ -25,7 +25,7 @@ defmodule Pleroma.Web.ShoutChannelTest do
end
describe "message lengths" do
- setup do: clear_config([:instance, :shout_limit])
+ setup do: clear_config([:shout, :limit])
test "it ignores messages of length zero", %{socket: socket} do
push(socket, "new_msg", %{"text" => ""})
@@ -33,7 +33,7 @@ defmodule Pleroma.Web.ShoutChannelTest do
end
test "it ignores messages above a certain length", %{socket: socket} do
- Pleroma.Config.put([:instance, :shout_limit], 2)
+ Pleroma.Config.put([:shout, :limit], 2)
push(socket, "new_msg", %{"text" => "123"})
refute_broadcast("new_msg", %{text: "123"})
end