public function HttpCacheTest::testShouldCatchExceptionsWhenReloadingAndNoCacheRequest in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/Tests/HttpCache/HttpCacheTest.php \Symfony\Component\HttpKernel\Tests\HttpCache\HttpCacheTest::testShouldCatchExceptionsWhenReloadingAndNoCacheRequest()
File
- vendor/
symfony/ http-kernel/ Tests/ HttpCache/ HttpCacheTest.php, line 1023
Class
Namespace
Symfony\Component\HttpKernel\Tests\HttpCacheCode
public function testShouldCatchExceptionsWhenReloadingAndNoCacheRequest() {
$this
->catchExceptions();
$this
->setNextResponse();
$this->cacheConfig['allow_reload'] = true;
$this
->request('GET', '/', array(), array(), false, array(
'Pragma' => 'no-cache',
));
$this
->assertExceptionsAreCaught();
}