diff --git a/test/ModuleTest.php b/test/ModuleTest.php index 40a155d..00c4859 100644 --- a/test/ModuleTest.php +++ b/test/ModuleTest.php @@ -139,7 +139,7 @@ public function testOnBootstrapWithDoesntHasFlashMessenger() $flashMessenger = $this->prophesize('Zend\Mvc\Controller\Plugin\FlashMessenger'); $pluginManager = $this->prophesize('Zend\Mvc\Controller\PluginManager'); - $sharedEvmAttach->will(function() use ($module, $e, $abstractActionController, $flashMessenger, $pluginManager) { + $sharedEvmAttach->will(function() use ($module, $e, $abstractActionController, $pluginManager) { $abstractActionController->getPluginManager()->willReturn($pluginManager)->shouldBeCalled(); $pluginManager->has('flashMessenger')->willReturn(false)->shouldBeCalled();