Fix tests matching on "warn"

Moving it to "warning" would break tests on 1.12.x
This commit is contained in:
Haelwenn (lanodan) Monnier 2022-01-24 19:03:10 +01:00 committed by Alex Gleason
commit d1cc9e4eaf
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7
2 changed files with 5 additions and 5 deletions

View file

@ -130,7 +130,7 @@ defmodule Pleroma.ReverseProxyTest do
assert capture_log(fn ->
ReverseProxy.call(conn, "/stream-bytes/50", max_body_length: 30)
end) =~
"[warn] Elixir.Pleroma.ReverseProxy request to /stream-bytes/50 failed while reading/chunking: :body_too_large"
"Elixir.Pleroma.ReverseProxy request to /stream-bytes/50 failed while reading/chunking: :body_too_large"
end
end