public function StoreTest::testRestoresResponseHeadersProperlyWithLookup in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-kernel/Tests/HttpCache/StoreTest.php \Symfony\Component\HttpKernel\Tests\HttpCache\StoreTest::testRestoresResponseHeadersProperlyWithLookup()
File
- vendor/
symfony/ http-kernel/ Tests/ HttpCache/ StoreTest.php, line 130
Class
Namespace
Symfony\Component\HttpKernel\Tests\HttpCacheCode
public function testRestoresResponseHeadersProperlyWithLookup() {
$this
->storeSimpleEntry();
$response = $this->store
->lookup($this->request);
$this
->assertEquals($response->headers
->all(), array_merge(array(
'content-length' => 4,
'x-body-file' => array(
$this
->getStorePath($response->headers
->get('X-Content-Digest')),
),
), $this->response->headers
->all()));
}