From 0edfeec22bc88e62b934f43f68e5c36a70ddf0cd Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Fri, 7 Sep 2012 15:35:05 -0400
Subject: [PATCH] Fixed broken test.

---
 module/VuFind/src/VuFind/Tests/TestCase.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/module/VuFind/src/VuFind/Tests/TestCase.php b/module/VuFind/src/VuFind/Tests/TestCase.php
index 3b912adc560..014f2a4edd7 100644
--- a/module/VuFind/src/VuFind/Tests/TestCase.php
+++ b/module/VuFind/src/VuFind/Tests/TestCase.php
@@ -125,8 +125,9 @@ abstract class TestCase extends \PHPUnit_Framework_TestCase
             $serviceManager->setService(
                 'RecordDriverPluginManager', $recordDriverFactory
             );
+            $serviceManager->setService('SearchManager', $this->searchManager);
             $this->searchManager->setServiceLocator($serviceManager);
         }
         return $this->searchManager;
     }
-}
\ No newline at end of file
+}
-- 
GitLab