projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remote Timeline: add Streaming support
[akkoma]
/
test
/
plugs
/
remote_ip_test.exs
diff --git
a/test/plugs/remote_ip_test.exs
b/test/plugs/remote_ip_test.exs
index 2da9f616b6b0bdde469ef70248059ca9b18d81ec..6d01c812de291379aab4c9c6c1f7fb1cf515f2ce 100644
(file)
--- 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