From 0614df9c0fcd818237977690ea56bda3a45f54b5 Mon Sep 17 00:00:00 2001 From: Max Date: Sun, 2 May 2021 22:16:51 +1000 Subject: [PATCH] Adds test condition --- tests/Http/Response/FactoryTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/Http/Response/FactoryTest.php b/tests/Http/Response/FactoryTest.php index aa9ae16ac..35fc2d998 100644 --- a/tests/Http/Response/FactoryTest.php +++ b/tests/Http/Response/FactoryTest.php @@ -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()