8000 [HttpKernel] added a unit test for previous merge · mshtukin/symfony@f579f72 · GitHub
[go: up one dir, main page]

Skip to content

Commit f579f72

Browse files
committed
[HttpKernel] added a unit test for previous merge
1 parent 228f3fc commit f579f72

File tree

1 file changed

+5
-0
lines changed
  • tests/Symfony/Tests/Component/HttpKernel/HttpCache

1 file changed

+5
-0
lines changed

tests/Symfony/Tests/Component/HttpKernel/HttpCache/EsiTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,11 @@ public function testProcess()
107107
$esi->process($request, $response);
108108

109109
$this->assertEquals('foo <?php echo $this->esi->handle($this, \'...\', \'\', false) ?>'."\n", $response->getContent());
110+
111+
$response = new Response('foo <esi:include src="..."></esi:include>');
112+
$esi->process($request, $response);
113+
114+
$this->assertEquals('foo <?php echo $this->esi->handle($this, \'...\', \'\', false) ?>'."\n", $response->getContent());
110115
}
111116

112117
/**

0 commit comments

Comments
 (0)
0