We want clear_config/2 in all tests now

This commit is contained in:
Mark Felder 2021-05-20 14:30:29 -05:00
parent d7dfa6d27c
commit 9ce2c017c0

View file

@ -33,7 +33,7 @@ test "it ignores messages of length zero", %{socket: socket} do
end end
test "it ignores messages above a certain length", %{socket: socket} do 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"}) push(socket, "new_msg", %{"text" => "123"})
refute_broadcast("new_msg", %{text: "123"}) refute_broadcast("new_msg", %{text: "123"})
end end