Skip to content

Commit

Permalink
Merge pull request #1778 from specialtactics/bugfix/dont-set-empty-co…
Browse files Browse the repository at this point in the history
…ntent-type-header

Adds test condition
  • Loading branch information
specialtactics committed May 2, 2021
2 parents c6cadf2 + 0614df9 commit edd912c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/Http/Response/FactoryTest.php
Expand Up @@ -75,6 +75,7 @@ public function testMakingANoContentResponse()
$response = $this->factory->noContent();
$this->assertSame(204, $response->getStatusCode());
$this->assertSame('', $response->getContent());
$this->assertNull($response->headers->get('Content-Type'));
}

public function testMakingCollectionRegistersUnderlyingClassWithTransformer()
Expand Down

0 comments on commit edd912c

Please sign in to comment.