From e053a00b7362d3c731ead9c996b1cad3171a7ed2 Mon Sep 17 00:00:00 2001 From: Demian Katz <demian.katz@villanova.edu> Date: Fri, 21 Dec 2012 11:51:51 -0500 Subject: [PATCH] Fixed broken unit tests. --- 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 066a0a5e0ab..cfd32b8c1c0 100644 --- a/module/VuFind/src/VuFindTest/Unit/TestCase.php +++ b/module/VuFind/src/VuFindTest/Unit/TestCase.php @@ -133,6 +133,9 @@ abstract class TestCase extends \PHPUnit_Framework_TestCase $this->serviceManager->setService( 'VuFind\Logger', new \VuFind\Log\Logger() ); + $this->serviceManager->setService( + 'VuFind\Http', new \VuFindHttp\HttpService() + ); \VuFind\Connection\Manager::setServiceLocator($this->serviceManager); } return $this->serviceManager; -- GitLab