fix comment: not fourth but sixth argument

This commit is contained in:
DQNEO 2014-09-01 02:38:52 +09:00 committed by Fabien Potencier
parent 62bc2c4cf5
commit 42841e845b

View File

@ -42,7 +42,7 @@ class RequestTest extends \PHPUnit_Framework_TestCase
$this->assertEquals('bar', $request->attributes->get('foo'), '->initialize() takes an array of attributes as its third argument'); $this->assertEquals('bar', $request->attributes->get('foo'), '->initialize() takes an array of attributes as its third argument');
$request->initialize(array(), array(), array(), array(), array(), array('HTTP_FOO' => 'bar')); $request->initialize(array(), array(), array(), array(), array(), array('HTTP_FOO' => 'bar'));
$this->assertEquals('bar', $request->headers->get('FOO'), '->initialize() takes an array of HTTP headers as its fourth argument'); $this->assertEquals('bar', $request->headers->get('FOO'), '->initialize() takes an array of HTTP headers as its sixth argument');
} }
public function testGetLocale() public function testGetLocale()