Skip to content

Commit 9302384

Browse files
authored
Fix CI (#1069)
| Q | A | --------------- | ----- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Related tickets | | License | MIT
2 parents 7ea7cd8 + 2bb3208 commit 9302384

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
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",

src/Bundle/spec/Grid/Renderer/TwigGridRendererSpec.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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".'))

0 commit comments

Comments
 (0)