Skip to content

Commit 26641bd

Browse files
committed
fixed tests
1 parent 4f187ce commit 26641bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpFoundation/Tests/RequestTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2195,7 +2195,7 @@ public function testGetTrustedHeaderName()
21952195
public function testProtocolVersion($serverProtocol, $trustedProxy, $via, $expected)
21962196
{
21972197
if ($trustedProxy) {
2198-
Request::setTrustedProxies(array('1.1.1.1'));
2198+
Request::setTrustedProxies(array('1.1.1.1'), -1);
21992199
}
22002200

22012201
$request = new Request();

0 commit comments

Comments
 (0)