]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix http cache test 20897/head
authorClement Wong <git@clement.hk>
Tue, 12 May 2020 09:49:20 +0000 (11:49 +0200)
committerClement Wong <git@clement.hk>
Tue, 12 May 2020 09:50:48 +0000 (11:50 +0200)
Signed-off-by: Clement Wong <git@clement.hk>
tests/lib/AppFramework/Http/ResponseTest.php

index e6f88b6a6e9785ec60df2e723741ef3077c65bf0..f33d0a0089d5b6dfe82778a093c23659e7771ea1 100644 (file)
@@ -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']);
        }