Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
Fixed failing navigation tests
Browse files Browse the repository at this point in the history
- Removed $defaultServiceConfig from ModuleManagerFactory
- Modified ModuleManagerFactory to add the ServiceListenerFactory
- Removed adding the ServiceListenerFactory from Application::init()
- Updated $defaultServiceConfig in ServiceListenerFactory to reflect
  changes needed for Console
- Fixed ZendTest\View\Helper\Navigation\AbstractTest to remove adding
  the ServiceListenerFactory (since the ModuleManagerFactory now does
  that)
  • Loading branch information
weierophinney committed Jul 25, 2012
1 parent c996a9d commit 76b3e1c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/Helper/Navigation/AbstractTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ protected function setUp()

$sm = $this->serviceManager = new ServiceManager(new ServiceManagerConfig);
$sm->setService('ApplicationConfig', $smConfig);
$sm->setFactory('ServiceListener', 'Zend\Mvc\Service\ServiceListenerFactory');
$sm->get('ModuleManager')->loadModules();
$sm->get('Application')->bootstrap();
$sm->setFactory('Navigation', 'Zend\Navigation\Service\DefaultNavigationFactory');
Expand Down

0 comments on commit 76b3e1c

Please sign in to comment.