From 3d63f801ffe485f1ad867efa14b25053c416da14 Mon Sep 17 00:00:00 2001 From: Joseph Bielawski Date: Thu, 10 Jul 2014 09:54:15 +0200 Subject: [PATCH] [HttpFoundation] Fix wrong assertion in Response test --- src/Symfony/Component/HttpFoundation/Tests/ResponseTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/HttpFoundation/Tests/ResponseTest.php b/src/Symfony/Component/HttpFoundation/Tests/ResponseTest.php index 7b3402ce6d..f1e37fff7b 100644 --- a/src/Symfony/Component/HttpFoundation/Tests/ResponseTest.php +++ b/src/Symfony/Component/HttpFoundation/Tests/ResponseTest.php @@ -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')); }