Apply 1 suggestion(s) to 1 file(s)
This commit is contained in:
parent
d0eca5b125
commit
8bfc5d9a0c
1 changed files with 1 additions and 0 deletions
|
@ -92,6 +92,7 @@ test "proxies set without CIDR format" do
|
||||||
|> RemoteIp.call(nil)
|
|> RemoteIp.call(nil)
|
||||||
|
|
||||||
assert conn.remote_ip == {1, 1, 1, 1}
|
assert conn.remote_ip == {1, 1, 1, 1}
|
||||||
|
end
|
||||||
|
|
||||||
test "proxies set `nonsensical` CIDR" do
|
test "proxies set `nonsensical` CIDR" do
|
||||||
Pleroma.Config.put([RemoteIp, :reserved], ["127.0.0.0/8"])
|
Pleroma.Config.put([RemoteIp, :reserved], ["127.0.0.0/8"])
|
||||||
|
|
Loading…
Reference in a new issue