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 committed by backportbot[bot]
parent 203d85f045
commit 21f8cc584c
1 changed files with 1 additions and 1 deletions

View File

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