public function StoreTest::testDoesNotReturnEntriesThatVaryWithLookup in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/Tests/HttpCache/StoreTest.php \Symfony\Component\HttpKernel\Tests\HttpCache\StoreTest::testDoesNotReturnEntriesThatVaryWithLookup()
File
- vendor/
symfony/ http-kernel/ Tests/ HttpCache/ StoreTest.php, line 161
Class
Namespace
Symfony\Component\HttpKernel\Tests\HttpCacheCode
public function testDoesNotReturnEntriesThatVaryWithLookup() {
$req1 = Request::create('/test', 'get', array(), array(), array(), array(
'HTTP_FOO' => 'Foo',
'HTTP_BAR' => 'Bar',
));
$req2 = Request::create('/test', 'get', array(), array(), array(), array(
'HTTP_FOO' => 'Bling',
'HTTP_BAR' => 'Bam',
));
$res = new Response('test', 200, array(
'Vary' => 'Foo Bar',
));
$this->store
->write($req1, $res);
$this
->assertNull($this->store
->lookup($req2));
}