소스 검색

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


불러오는 중...
취소
저장