From: Mark Felder Date: Thu, 20 May 2021 19:30:29 +0000 (-0500) Subject: We want clear_config/2 in all tests now X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=9ce2c017c0782c9ea4a0ca6009e82d034ac7915c;p=akkoma We want clear_config/2 in all tests now --- 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