summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMark Felder <feld@feld.me>2021-05-20 14:30:29 -0500
committerMark Felder <feld@feld.me>2021-06-01 11:49:47 -0500
commit9ce2c017c0782c9ea4a0ca6009e82d034ac7915c (patch)
treee107981ab1f4256a36f9f545b76eb2f308a46b8b /test
parentd7dfa6d27cf140b9d0faed32c3a7a659a0f2e20e (diff)
We want clear_config/2 in all tests now
Diffstat (limited to 'test')
-rw-r--r--test/pleroma/web/shout_channel_test.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pleroma/web/shout_channel_test.ex b/test/pleroma/web/shout_channel_test.ex
index b4d661689..a266543d2 100644
--- a/test/pleroma/web/shout_channel_test.ex
+++ b/test/pleroma/web/shout_channel_test.ex
@@ -33,7 +33,7 @@ defmodule Pleroma.Web.ShoutChannelTest do
end
test "it ignores messages above a certain length", %{socket: socket} do
- Pleroma.Config.put([:shout, :limit], 2)
+ clear_config([:shout, :limit], 2)
push(socket, "new_msg", %{"text" => "123"})
refute_broadcast("new_msg", %{text: "123"})
end