fixed tests
This commit is contained in:
parent
4f187ced94
commit
26641bdf44
@ -2195,7 +2195,7 @@ class RequestTest extends TestCase
|
||||
public function testProtocolVersion($serverProtocol, $trustedProxy, $via, $expected)
|
||||
{
|
||||
if ($trustedProxy) {
|
||||
Request::setTrustedProxies(array('1.1.1.1'));
|
||||
Request::setTrustedProxies(array('1.1.1.1'), -1);
|
||||
}
|
||||
|
||||
$request = new Request();
|
||||
|
Reference in New Issue
Block a user