Skip to content

Commit 0614df9

Browse files
Adds test condition
1 parent 0d8b661 commit 0614df9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/Http/Response/FactoryTest.php

+1
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ public function testMakingANoContentResponse()
7575
$response = $this->factory->noContent();
7676
$this->assertSame(204, $response->getStatusCode());
7777
$this->assertSame('', $response->getContent());
78+
$this->assertNull($response->headers->get('Content-Type'));
7879
}
7980

8081
public function testMakingCollectionRegistersUnderlyingClassWithTransformer()

0 commit comments

Comments
 (0)