mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 10:10:49 -04:00
Fix http testCacheSeconds
Signed-off-by: Clement Wong <git@clement.hk>
This commit is contained in:
parent
e309165032
commit
557698690a
1 changed files with 2 additions and 2 deletions
|
|
@ -239,8 +239,8 @@ class ResponseTest extends \Test\TestCase {
|
|||
$this->childResponse->cacheFor(33);
|
||||
|
||||
$headers = $this->childResponse->getHeaders();
|
||||
$this->assertEquals('max-age=33, must-revalidate', $headers['Cache-Control']);
|
||||
$this->assertEquals('public', $headers['Pragma']);
|
||||
$this->assertEquals('private, max-age=33, must-revalidate', $headers['Cache-Control']);
|
||||
$this->assertEquals('private', $headers['Pragma']);
|
||||
$this->assertEquals('Thu, 15 Jan 1970 06:56:40 +0000', $headers['Expires']);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue