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

Updated test translator to match non-test service.

parent 0c5e48d9
No related merge requests found
...@@ -219,7 +219,7 @@ abstract class TestCase extends \PHPUnit_Framework_TestCase ...@@ -219,7 +219,7 @@ abstract class TestCase extends \PHPUnit_Framework_TestCase
) )
); );
$this->serviceManager->setService('Config', array()); $this->serviceManager->setService('Config', array());
$factory = new \Zend\I18n\Translator\TranslatorServiceFactory(); $factory = new \Zend\Mvc\Service\TranslatorServiceFactory();
$this->serviceManager->setService( $this->serviceManager->setService(
'VuFind\Translator', $factory->createService($this->serviceManager) 'VuFind\Translator', $factory->createService($this->serviceManager)
); );
......
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