Skip to content

Commit 4d2480c

Browse files
committed
minor symfony#53112 [HttpKernel] Fix ArgumentResolverTest (smnandre)
This PR was submitted for the 7.1 branch but it was merged into the 6.4 branch instead. Discussion ---------- [HttpKernel] Fix ArgumentResolverTest | Q | A | ------------- | --- | Branch? | 7.1 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | Fix #... | License | MIT Fix CI failing Commits ------- 12014a6 [HttpKernel] Fix ArgumentResolverTest
2 parents c231959 + 12014a6 commit 4d2480c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpKernel/Tests/Controller/ArgumentResolverTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ public function testTargetedResolverWithRequestAttributeValue()
328328

329329
$request = Request::create('/');
330330
$request->attributes->set('foo', $object = new Post('Random '.time()));
331-
$controller = $this->controllerTargetingResolverWithTestEntity(...);
331+
$controller = (new ArgumentResolverTestController())->controllerTargetingResolverWithTestEntity(...);
332332

333333
$this->assertSame([$object], $resolver->getArguments($request, $controller));
334334
}

0 commit comments

Comments
 (0)