X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=test%2Fplugs%2Fremote_ip_test.exs;h=6d01c812de291379aab4c9c6c1f7fb1cf515f2ce;hb=9c672ecbb5d4477cd16d2139a2cb66d3923ac5c8;hp=2da9f616b6b0bdde469ef70248059ca9b18d81ec;hpb=d0eca5b12518b0b98ef53003d60b08a78decf35f;p=akkoma diff --git a/test/plugs/remote_ip_test.exs b/test/plugs/remote_ip_test.exs index 2da9f616b..6d01c812d 100644 --- a/test/plugs/remote_ip_test.exs +++ b/test/plugs/remote_ip_test.exs @@ -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"]) @@ -104,6 +105,4 @@ defmodule Pleroma.Plugs.RemoteIpTest do assert conn.remote_ip == {1, 1, 1, 1} end - - end end