Skip to content
Snippets Groups Projects
Commit 17685180 authored by Demian Katz's avatar Demian Katz
Browse files

Fixed broken test bootstrap (RC1 compatibility issue).

parent 279f6aca
No related merge requests found
<?php
use Zend\Loader\AutoloaderFactory;
use Zend\ServiceManager\ServiceManager;
use Zend\Mvc\Service\ServiceManagerConfiguration;
use Zend\Mvc\Service\ServiceManagerConfig;
// Set flag that we're in test mode
define('VUFIND_PHPUNIT_RUNNING', 1);
......@@ -33,6 +33,6 @@ if (!class_exists('Zend\Loader\AutoloaderFactory')) {
$configuration = include 'config/application.config.php';
// Setup service manager
$serviceManager = new ServiceManager(new ServiceManagerConfiguration($configuration['service_manager']));
$serviceManager->setService('ApplicationConfiguration', $configuration);
$serviceManager = new ServiceManager(new ServiceManagerConfig($configuration['service_manager']));
$serviceManager->setService('ApplicationConfig', $configuration);
$serviceManager->get('ModuleManager')->loadModules();
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment