From f1bcf78ee5e174612dd0ae87ad4f9fba83511245 Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Tue, 11 Sep 2012 15:07:40 -0400
Subject: [PATCH] Workaround for broken tests.

---
 module/VuFind/src/VuFind/Tests/TestCase.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/module/VuFind/src/VuFind/Tests/TestCase.php b/module/VuFind/src/VuFind/Tests/TestCase.php
index 014f2a4edd7..180a99b3943 100644
--- a/module/VuFind/src/VuFind/Tests/TestCase.php
+++ b/module/VuFind/src/VuFind/Tests/TestCase.php
@@ -127,6 +127,7 @@ abstract class TestCase extends \PHPUnit_Framework_TestCase
             );
             $serviceManager->setService('SearchManager', $this->searchManager);
             $this->searchManager->setServiceLocator($serviceManager);
+            \VuFind\Connection\Manager::setServiceLocator($serviceManager);
         }
         return $this->searchManager;
     }
-- 
GitLab