public function StoreTest::testDoesNotFindAnEntryWithLookupWhenTheBodyDoesNotExist 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::testDoesNotFindAnEntryWithLookupWhenTheBodyDoesNotExist()
File
- vendor/
symfony/ http-kernel/ Tests/ HttpCache/ StoreTest.php, line 121
Class
Namespace
Symfony\Component\HttpKernel\Tests\HttpCacheCode
public function testDoesNotFindAnEntryWithLookupWhenTheBodyDoesNotExist() {
$this
->storeSimpleEntry();
$this
->assertNotNull($this->response->headers
->get('X-Content-Digest'));
$path = $this
->getStorePath($this->response->headers
->get('X-Content-Digest'));
@unlink($path);
$this
->assertNull($this->store
->lookup($this->request));
}