Explorar el Código

We want clear_config/2 in all tests now

cycles-validator
Mark Felder hace 3 años
padre
commit
9ce2c017c0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      test/pleroma/web/shout_channel_test.ex

+ 1
- 1
test/pleroma/web/shout_channel_test.ex Ver fichero

@@ -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


Cargando…
Cancelar
Guardar