function setUp() { parent::setUp(); $this->serviceManager = new \Zend\ServiceManager\ServiceManager(new \Zend\Mvc\Service\ServiceManagerConfig()); $this->serviceManager->setService('ApplicationConfig', include 'config/application.config.php'); $this->moduleManager = $this->serviceManager->get('ModuleManager'); $this->setModules(); $this->moduleManager->loadModules(); $this->serviceManager->setAllowOverride(true); }
public function __construct() { parent::__construct(); $this->routeConfig = $this->getRouterConfig(); }