fixed issue with PHP 5.3

This commit is contained in:
Fabien Potencier 2016-03-01 12:08:40 +01:00
parent afa4d524c2
commit 2a811427c0

View File

@ -36,7 +36,7 @@ class WebProcessorTest extends \PHPUnit_Framework_TestCase
public function testUseRequestClientIp()
{
Request::setTrustedProxies(['192.168.0.1']);
Request::setTrustedProxies(array('192.168.0.1'));
list($event, $server) = $this->createRequestEvent(array('X_FORWARDED_FOR' => '192.168.0.2'));
$processor = new WebProcessor();