[HtppKernel] fixed inline fragment renderer
This commit is contained in:
parent
183ff09bf1
commit
2dc1ee04b4
@ -50,7 +50,7 @@ class InlineFragmentRendererTest extends \PHPUnit_Framework_TestCase
|
|||||||
$object = new \stdClass();
|
$object = new \stdClass();
|
||||||
|
|
||||||
$subRequest = Request::create('/_fragment?_path=_format%3Dhtml%26_controller%3Dmain_controller');
|
$subRequest = Request::create('/_fragment?_path=_format%3Dhtml%26_controller%3Dmain_controller');
|
||||||
$subRequest->attributes->replace(array('object' => $object));
|
$subRequest->attributes->replace(array('object' => $object, '_format' => 'html', '_controller' => 'main_controller'));
|
||||||
|
|
||||||
$kernel = $this->getMock('Symfony\Component\HttpKernel\HttpKernelInterface');
|
$kernel = $this->getMock('Symfony\Component\HttpKernel\HttpKernelInterface');
|
||||||
$kernel
|
$kernel
|
||||||
|
Reference in New Issue
Block a user