summaryrefslogtreecommitdiffstats
path: root/tests/lib
diff options
context:
space:
mode:
authorClement Wong <git@clement.hk>2020-05-12 11:49:20 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2020-05-13 06:34:22 +0000
commit21f8cc584c34b834f31b1df5d26df361000fe423 (patch)
treeda6622326b62fd5543b8ccdb1b5793572d8fff38 /tests/lib
parent203d85f04563097ff0203d439d5f5cc6f9657ab3 (diff)
downloadnextcloud-server-21f8cc584c34b834f31b1df5d26df361000fe423.tar.gz
nextcloud-server-21f8cc584c34b834f31b1df5d26df361000fe423.zip
Fix http cache test
Signed-off-by: Clement Wong <git@clement.hk>
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/AppFramework/Http/ResponseTest.php2
1 files changed, 1 insertions, 1 deletions
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']);
}