From ec0fcaad478ff8139c9221080fc7729db3140aa8 Mon Sep 17 00:00:00 2001 From: Chris Kankiewicz Date: Sun, 20 Jun 2021 21:39:40 -0700 Subject: [PATCH] Fixed failing test --- tests/Middlewares/CacheMiddlewareTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Middlewares/CacheMiddlewareTest.php b/tests/Middlewares/CacheMiddlewareTest.php index 1e08c4c..7514c31 100644 --- a/tests/Middlewares/CacheMiddlewareTest.php +++ b/tests/Middlewares/CacheMiddlewareTest.php @@ -35,7 +35,7 @@ class CacheMiddlewareTest extends TestCase $response = (new CacheMiddleware($this->config))($this->request, $this->handler); - $this->assertEquals(['max-age=0, must-revalidate'], $response->getHeader('Cache-Control')); + $this->assertEquals(['max-age=0'], $response->getHeader('Cache-Control')); } public function test_it_adds_a_response_cache_header_for_a_pre_configured_http_cache_option(): void