Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit acc3952

Browse files
akeylimepiexabbuh
andcommitted
Update src/Symfony/Bundle/WebProfilerBundle/Tests/Controller/RouterControllerTest.php
Co-authored-by: Christian Flothmann <[email protected]>
1 parent 78897ac commit acc3952

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/WebProfilerBundle/Tests/Controller/RouterControllerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function testFalseNegativeTrace()
4040

4141
$matcher
4242
->method('getContext')
43-
->willReturn($this->createMock(RequestContext::class));
43+
->willReturn(new RequestContext());
4444

4545
$controller = $this->getMockBuilder(RouterController::class)
4646
->setConstructorArgs([

0 commit comments

Comments
 (0)