mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 00:26:30 +00:00
We want clear_config/2 in all tests now
This commit is contained in:
parent
d7dfa6d27c
commit
9ce2c017c0
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue