minor #11362 [2.3][HttpFoundation] Fix wrong assertion in Response test (stloyd)

This PR was merged into the 2.3 branch.

Discussion
----------

[2.3][HttpFoundation] Fix wrong assertion in Response test

| Q             | A
| ------------- | ---
| Bug fix?      | kinda
| New feature?  | no
| BC breaks?    | no
| Tests pass?   | yes
| License       | MIT

Commits
-------

3d63f80 [HttpFoundation] Fix wrong assertion in Response test
This commit is contained in:
Christophe Coevoet 2014-07-10 11:13:00 +02:00
commit ca69dbba43

View File

@ -374,7 +374,7 @@ class ResponseTest extends ResponseTestCase
$response->prepare($request);
$this->assertEquals('', $response->getContent());
$this->assertFalse($response->headers->has('Content-Type'));
$this->assertTrue($response->headers->has('Content-Type'));
$this->assertFalse($response->headers->has('Content-Length'));
}