public function EsiTest::testMultilineEsiRemoveTagsAreRemoved in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/Tests/HttpCache/EsiTest.php \Symfony\Component\HttpKernel\Tests\HttpCache\EsiTest::testMultilineEsiRemoveTagsAreRemoved()
File
- vendor/
symfony/ http-kernel/ Tests/ HttpCache/ EsiTest.php, line 95
Class
Namespace
Symfony\Component\HttpKernel\Tests\HttpCacheCode
public function testMultilineEsiRemoveTagsAreRemoved() {
$esi = new Esi();
$request = Request::create('/');
$response = new Response('<esi:remove> <a href="http://www.example.com">www.example.com</a> </esi:remove> Keep this' . "<esi:remove>\n <a>www.example.com</a> </esi:remove> And this");
$esi
->process($request, $response);
$this
->assertEquals(' Keep this And this', $response
->getContent());
}