aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/AppFramework/Http
diff options
context:
space:
mode:
authorClement Wong <git@clement.hk>2020-05-12 11:49:20 +0200
committerClement Wong <git@clement.hk>2020-05-12 11:50:48 +0200
commit979dd1b6f5d4bd82120a821c8f6b8e7773921b15 (patch)
tree5782bbb5f855b0ce51d89feef07c32882991a596 /tests/lib/AppFramework/Http
parente9be3a9090d89f7d3e4c2c0ec51ed4e68499985d (diff)
downloadnextcloud-server-979dd1b6f5d4bd82120a821c8f6b8e7773921b15.tar.gz
nextcloud-server-979dd1b6f5d4bd82120a821c8f6b8e7773921b15.zip
Fix http cache test
Signed-off-by: Clement Wong <git@clement.hk>
Diffstat (limited to 'tests/lib/AppFramework/Http')
-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']);
}