From b23f9ab38030b00b669eb86488e6ee35a7ab0cd5 Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Tue, 26 Mar 2013 14:06:08 -0400
Subject: [PATCH] Fixed failing tests by adding missing service.

---
 module/VuFind/src/VuFindTest/Unit/TestCase.php | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/module/VuFind/src/VuFindTest/Unit/TestCase.php b/module/VuFind/src/VuFindTest/Unit/TestCase.php
index fe07259b64f..17695cbf8c9 100644
--- a/module/VuFind/src/VuFindTest/Unit/TestCase.php
+++ b/module/VuFind/src/VuFindTest/Unit/TestCase.php
@@ -167,6 +167,9 @@ abstract class TestCase extends \PHPUnit_Framework_TestCase
             $this->serviceManager->setService(
                 'VuFind\Config', new \VuFind\Config\PluginManager($cfg)
             );
+            $this->serviceManager->setService(
+                'SharedEventManager', new \Zend\EventManager\SharedEventManager()
+            );
             \VuFind\Connection\Manager::setServiceLocator($this->serviceManager);
         }
         return $this->serviceManager;
-- 
GitLab