fixed test
This commit is contained in:
parent
2173c78da2
commit
0fe08a800e
@ -853,7 +853,7 @@ class RequestTest extends \PHPUnit_Framework_TestCase
|
||||
// $expected $remoteAddr $httpForwarded $trustedProxies
|
||||
return array(
|
||||
array(array('127.0.0.1'), '127.0.0.1', 'for="_gazonk"', null),
|
||||
array(array('_gazonk'), '127.0.0.1', 'for="_gazonk"', array('127.0.0.1')),
|
||||
array(array('127.0.0.1'), '127.0.0.1', 'for="_gazonk"', array('127.0.0.1')),
|
||||
array(array('88.88.88.88'), '127.0.0.1', 'for="88.88.88.88:80"', array('127.0.0.1')),
|
||||
array(array('192.0.2.60'), '::1', 'for=192.0.2.60;proto=http;by=203.0.113.43', array('::1')),
|
||||
array(array('2620:0:1cfe:face:b00c::3', '192.0.2.43'), '::1', 'for=192.0.2.43, for=2620:0:1cfe:face:b00c::3', array('::1')),
|
||||
|
Reference in New Issue
Block a user