File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
src/Bundle/spec/Grid/Renderer Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,7 @@ function it_uses_twig_to_render_the_action(
5858 ): void {
5959 $ action ->getType ()->willReturn ('link ' );
6060 $ action ->getOptions ()->willReturn ([]);
61+ $ action ->getTemplate ()->willReturn (null );
6162
6263 $ gridView ->getRequestConfiguration ()->willReturn ($ requestConfiguration );
6364 $ requestConfiguration ->getRequest ()->willReturn ($ request );
@@ -83,6 +84,7 @@ function it_throws_an_exception_if_template_is_not_configured_for_given_action_t
8384 ): void {
8485 $ action ->getOptions ()->willReturn ([]);
8586 $ action ->getType ()->willReturn ('foo ' );
87+ $ action ->getTemplate ()->willReturn (null );
8688
8789 $ this
8890 ->shouldThrow (new \InvalidArgumentException ('Missing template for action type "foo". ' ))
You can’t perform that action at this time.
0 commit comments