]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix http cache test
authorClement Wong <git@clement.hk>
Tue, 12 May 2020 09:49:20 +0000 (11:49 +0200)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Fri, 15 May 2020 06:24:10 +0000 (06:24 +0000)
Signed-off-by: Clement Wong <git@clement.hk>
tests/lib/AppFramework/Http/ResponseTest.php

index 9d6442ea3ce2559cf5d23b444a037267361021d3..479e210721bb2818db68ffcd66b4b41e715aa8e8 100644 (file)
@@ -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']);
 
        }