Skip to content

Commit 5576986

Browse files
committed
Fix http testCacheSeconds
Signed-off-by: Clement Wong <git@clement.hk>
1 parent e309165 commit 5576986

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/lib/AppFramework/Http/ResponseTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,8 @@ public function testCacheSeconds() {
239239
$this->childResponse->cacheFor(33);
240240

241241
$headers = $this->childResponse->getHeaders();
242-
$this->assertEquals('max-age=33, must-revalidate', $headers['Cache-Control']);
243-
$this->assertEquals('public', $headers['Pragma']);
242+
$this->assertEquals('private, max-age=33, must-revalidate', $headers['Cache-Control']);
243+
$this->assertEquals('private', $headers['Pragma']);
244244
$this->assertEquals('Thu, 15 Jan 1970 06:56:40 +0000', $headers['Expires']);
245245
}
246246

0 commit comments

Comments
 (0)