File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
src/Bundle/spec/Grid/Renderer Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 8888 "vimeo/psalm" : " ^5.26" ,
8989 "willdurand/hateoas-bundle" : " ^2.5" ,
9090 "winzou/state-machine-bundle" : " ^0.6.2" ,
91- "zenstruck/foundry" : " ^2.3"
91+ "zenstruck/foundry" : " ^2.3 <2.7 "
9292 },
9393 "conflict" : {
9494 "doctrine/orm" : " <2.18" ,
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