From 979dd1b6f5d4bd82120a821c8f6b8e7773921b15 Mon Sep 17 00:00:00 2001 From: Clement Wong Date: Tue, 12 May 2020 11:49:20 +0200 Subject: [PATCH] Fix http cache test Signed-off-by: Clement Wong --- tests/lib/AppFramework/Http/ResponseTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/lib/AppFramework/Http/ResponseTest.php b/tests/lib/AppFramework/Http/ResponseTest.php index e6f88b6a6e9..f33d0a0089d 100644 --- a/tests/lib/AppFramework/Http/ResponseTest.php +++ b/tests/lib/AppFramework/Http/ResponseTest.php @@ -267,7 +267,7 @@ class ResponseTest extends \Test\TestCase { $this->assertEquals(Http::STATUS_NOT_FOUND, $this->childResponse->getStatus()); $this->assertEquals('hi', $this->childResponse->getEtag()); $this->assertEquals('Thu, 01 Jan 1970 00:00:01 +0000', $headers['Last-Modified']); - $this->assertEquals('max-age=33, must-revalidate', + $this->assertEquals('private, max-age=33, must-revalidate', $headers['Cache-Control']); } -- 2.39.5