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:
commit
ca69dbba43
@ -374,7 +374,7 @@ class ResponseTest extends ResponseTestCase
|
|||||||
$response->prepare($request);
|
$response->prepare($request);
|
||||||
|
|
||||||
$this->assertEquals('', $response->getContent());
|
$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'));
|
$this->assertFalse($response->headers->has('Content-Length'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user