logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: 9ce2c017c0782c9ea4a0ca6009e82d034ac7915c
parent d7dfa6d27cf140b9d0faed32c3a7a659a0f2e20e
Author: Mark Felder <feld@feld.me>
Date:   Thu, 20 May 2021 14:30:29 -0500

We want clear_config/2 in all tests now

Diffstat:

Mtest/pleroma/web/shout_channel_test.ex2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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