Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorClement Wong <git@clement.hk>2020-05-12 12:49:20 +0300
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2020-05-13 09:34:22 +0300
commit21f8cc584c34b834f31b1df5d26df361000fe423 (patch)
treeda6622326b62fd5543b8ccdb1b5793572d8fff38 /tests
parent203d85f04563097ff0203d439d5f5cc6f9657ab3 (diff)
Fix http cache test
Signed-off-by: Clement Wong <git@clement.hk>
Diffstat (limited to 'tests')
-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']);
}