public function SsiTest::testHandleWhenResponseIsNot200AndErrorsAreIgnored in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/Tests/HttpCache/SsiTest.php \Symfony\Component\HttpKernel\Tests\HttpCache\SsiTest::testHandleWhenResponseIsNot200AndErrorsAreIgnored()
File
- vendor/
symfony/ http-kernel/ Tests/ HttpCache/ SsiTest.php, line 174
Class
Namespace
Symfony\Component\HttpKernel\Tests\HttpCacheCode
public function testHandleWhenResponseIsNot200AndErrorsAreIgnored() {
$ssi = new Ssi();
$response = new Response('foo');
$response
->setStatusCode(404);
$cache = $this
->getCache(Request::create('/'), $response);
$this
->assertEquals('', $ssi
->handle($cache, '/', '/alt', true));
}