Skip to content

Commit 3d63f80

Browse files
committed
[HttpFoundation] Fix wrong assertion in Response test
1 parent 162a025 commit 3d63f80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpFoundation/Tests/ResponseTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ public function testPrepareRemovesContentForHeadRequests()
374374
$response->prepare($request);
375375

376376
$this->assertEquals('', $response->getContent());
377-
$this->assertFalse($response->headers->has('Content-Type'));
377+
$this->assertTrue($response->headers->has('Content-Type'));
378378
$this->assertFalse($response->headers->has('Content-Length'));
379379
}
380380

0 commit comments

Comments
 (0)