[HttpFoundation] fixed tests (refs #5175)
This commit is contained in:
parent
3f51bc0a3d
commit
aeaa69ae43
@ -28,7 +28,7 @@ class StreamedResponseTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
$response = new StreamedResponse(function () { echo 'foo'; });
|
||||
$request = Request::create('/');
|
||||
$request->server->set('SERVER_PROTOCOL', '1.1');
|
||||
$request->server->set('SERVER_PROTOCOL', 'HTTP/1.1');
|
||||
|
||||
$response->prepare($request);
|
||||
|
||||
@ -41,7 +41,7 @@ class StreamedResponseTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
$response = new StreamedResponse(function () { echo 'foo'; });
|
||||
$request = Request::create('/');
|
||||
$request->server->set('SERVER_PROTOCOL', '1.0');
|
||||
$request->server->set('SERVER_PROTOCOL', 'HTTP/1.0');
|
||||
|
||||
$response->prepare($request);
|
||||
|
||||
|
Reference in New Issue
Block a user