public function SsiTest::testNeedsSsiParsing 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::testNeedsSsiParsing()
File
- vendor/
symfony/ http-kernel/ Tests/ HttpCache/ SsiTest.php, line 61
Class
Namespace
Symfony\Component\HttpKernel\Tests\HttpCacheCode
public function testNeedsSsiParsing() {
$ssi = new Ssi();
$response = new Response();
$response->headers
->set('Surrogate-Control', 'content="SSI/1.0"');
$this
->assertTrue($ssi
->needsParsing($response));
$response = new Response();
$this
->assertFalse($ssi
->needsParsing($response));
}