8000 added missing test · symfony/symfony@1edd1c7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1edd1c7

Browse files
committed
added missing test
1 parent dd5a14b commit 1edd1c7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,8 @@ public function testPrepareRemovesContentForInformationalResponse()
445445
$response->setStatusCode(101);
446446
$response->prepare($request);
447447
$this->assertEquals('', $response->getContent());
448+
$this->assertFalse($response->headers->has('Content-Type'));
449+
$this->assertFalse($response->headers->has('Content-Length'));
448450

449451
$response->setContent('content');
450452
$response->setStatusCode(304);

0 commit comments

Comments
 (0)
0