Fix http cache test

Signed-off-by: Clement Wong <git@clement.hk>
This commit is contained in:
Clement Wong 2020-05-12 11:49:20 +02:00
parent 33e1a04601
commit 43351ecd29

View file

@ -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']);
}