projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7dfa6d
)
We want clear_config/2 in all tests now
author
Mark Felder
<feld@feld.me>
Thu, 20 May 2021 19:30:29 +0000
(14:30 -0500)
committer
Mark Felder
<feld@feld.me>
Tue, 1 Jun 2021 16:49:47 +0000
(11:49 -0500)
test/pleroma/web/shout_channel_test.ex
patch
|
blob
|
history
diff --git
a/test/pleroma/web/shout_channel_test.ex
b/test/pleroma/web/shout_channel_test.ex
index b4d661689b4d565f51ecdd97078c2d69ed40d78a..a266543d26ddbc3a9f92d4e11ba530550da548b8 100644
(file)
--- 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