Fix http cache test
Signed-off-by: Clement Wong <git@clement.hk>
This commit is contained in:
parent
e9be3a9090
commit
979dd1b6f5
|
@ -267,7 +267,7 @@ class ResponseTest extends \Test\TestCase {
|
||||||
$this->assertEquals(Http::STATUS_NOT_FOUND, $this->childResponse->getStatus());
|
$this->assertEquals(Http::STATUS_NOT_FOUND, $this->childResponse->getStatus());
|
||||||
$this->assertEquals('hi', $this->childResponse->getEtag());
|
$this->assertEquals('hi', $this->childResponse->getEtag());
|
||||||
$this->assertEquals('Thu, 01 Jan 1970 00:00:01 +0000', $headers['Last-Modified']);
|
$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']);
|
$headers['Cache-Control']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue