diff options
author | Clement Wong <git@clement.hk> | 2020-05-12 12:49:20 +0300 |
---|---|---|
committer | Clement Wong <git@clement.hk> | 2020-05-13 15:40:18 +0300 |
commit | 43351ecd2970663e256ebae1d013e766d443aff8 (patch) | |
tree | 6f94949849a79fe084ab590a9b05e894ce954fc4 /tests | |
parent | 33e1a04601b50d4e337cb2c2b207af6502718de6 (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.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/AppFramework/Http/ResponseTest.php b/tests/lib/AppFramework/Http/ResponseTest.php index 3d76d24496d..e1c62b24434 100644 --- a/tests/lib/AppFramework/Http/ResponseTest.php +++ b/tests/lib/AppFramework/Http/ResponseTest.php @@ -268,7 +268,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']); } |