From: Clement Wong Date: Tue, 12 May 2020 09:49:20 +0000 (+0200) Subject: Fix http cache test X-Git-Tag: v17.0.7RC1~8^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e3091650328c5d21d9c64615ff5b19ead80d3112;p=nextcloud-server.git Fix http cache test Signed-off-by: Clement Wong --- diff --git a/tests/lib/AppFramework/Http/ResponseTest.php b/tests/lib/AppFramework/Http/ResponseTest.php index 9d6442ea3ce..479e210721b 100644 --- a/tests/lib/AppFramework/Http/ResponseTest.php +++ b/tests/lib/AppFramework/Http/ResponseTest.php @@ -270,7 +270,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']); }