Permalink
Browse files

Add ServiceListener factory to tests bootstrap

  • Loading branch information...
1 parent eb22ae7 commit 82b42292bd7bbf57ac6a53f34d3777d40850a175 @adamlundrigan adamlundrigan committed Jul 24, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 tests/Bootstrap.php
View
@@ -34,6 +34,7 @@
// Setup service manager
$serviceManager = new ServiceManager(new ServiceManagerConfig(@$configuration['service_manager'] ?: array()));
$serviceManager->setService('ApplicationConfig', $configuration);
+$serviceManager->setFactory('ServiceListener', 'Zend\Mvc\Service\ServiceListenerFactory');
$serviceManager->get('ModuleManager')->loadModules();
TestCase::setServiceLocator($serviceManager);

0 comments on commit 82b4229

Please sign in to comment.