public function StoreTest::testCanonizesUrlsForCacheKeys 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::testCanonizesUrlsForCacheKeys()
File
- vendor/
symfony/ http-kernel/ Tests/ HttpCache/ StoreTest.php, line 111
Class
Namespace
Symfony\Component\HttpKernel\Tests\HttpCacheCode
public function testCanonizesUrlsForCacheKeys() {
$this
->storeSimpleEntry($path = '/test?x=y&p=q');
$hitsReq = Request::create($path);
$missReq = Request::create('/test?p=x');
$this
->assertNotNull($this->store
->lookup($hitsReq));
$this
->assertNull($this->store
->lookup($missReq));
}