We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef54c58 commit 06ccc6bCopy full SHA for 06ccc6b
Tests/Controller/ControllerTraitTest.php
@@ -376,7 +376,7 @@ public function testRedirectToRoute()
376
public function testAddFlash()
377
{
378
$flashBag = new FlashBag();
379
- $session = $this->getMockBuilder('Symfony\Component\HttpFoundation\Session\Session')->getMock();
+ $session = $this->getMockBuilder('Symfony\Component\HttpFoundation\Session\Session')->disableOriginalConstructor()->getMock();
380
$session->expects($this->once())->method('getFlashBag')->willReturn($flashBag);
381
382
$container = new Container();
0 commit comments