Permalink
Browse files

Fixing tests (missing factories)

  • Loading branch information...
1 parent 47ef0c4 commit e03f4f22b28e8894d8fce821ba7a5eb0ab3c37cc @Ocramius Ocramius committed Aug 8, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 tests/ZendTest/Mvc/Service/ControllerLoaderFactoryTest.php
@@ -15,6 +15,9 @@
use Zend\Mvc\Service\ControllerLoaderFactory;
use Zend\Mvc\Service\ControllerPluginManagerFactory;
use Zend\Mvc\Service\DiFactory;
+use Zend\Mvc\Service\DiStrictAbstractServiceFactoryFactory;
+use Zend\Mvc\Service\DiAbstractServiceFactoryFactory;
+use Zend\Mvc\Service\DiServiceInitializerFactory;
use Zend\Mvc\Service\EventManagerFactory;
use Zend\ServiceManager\Config;
use Zend\ServiceManager\ServiceManager;
@@ -42,6 +45,9 @@ public function setUp()
$this->services->setService('Config', $config);
$this->services->setFactory('ControllerPluginBroker', new ControllerPluginManagerFactory());
$this->services->setFactory('Di', new DiFactory());
+ $this->services->setFactory('DiStrictAbstractServiceFactory', new DiStrictAbstractServiceFactoryFactory());
+ $this->services->setFactory('DiAbstractServiceFactory', new DiAbstractServiceFactoryFactory());
+ $this->services->setFactory('DiServiceInitializer', new DiServiceInitializerFactory());
$this->services->setFactory('EventManager', new EventManagerFactory());
$this->services->setInvokableClass('SharedEventManager', 'Zend\EventManager\SharedEventManager');
}

0 comments on commit e03f4f2

Please sign in to comment.