瀏覽代碼

We want clear_config/2 in all tests now

cycles-validator
Mark Felder 3 年之前
父節點
當前提交
9ce2c017c0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      test/pleroma/web/shout_channel_test.ex

+ 1
- 1
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


Loading…
取消
儲存