Apply 1 suggestion(s) to 1 file(s)

This commit is contained in:
Maksim 2020-10-07 19:32:09 +00:00
parent d0eca5b125
commit 8bfc5d9a0c
1 changed files with 1 additions and 0 deletions

View File

@ -92,6 +92,7 @@ defmodule Pleroma.Plugs.RemoteIpTest do
|> RemoteIp.call(nil)
assert conn.remote_ip == {1, 1, 1, 1}
end
test "proxies set `nonsensical` CIDR" do
Pleroma.Config.put([RemoteIp, :reserved], ["127.0.0.0/8"])