diff --git a/module/VuFind/src/VuFindTest/Unit/TestCase.php b/module/VuFind/src/VuFindTest/Unit/TestCase.php index 066a0a5e0ab2d46a9c80692bc0337f3a5e9527f0..cfd32b8c1c012332b7f7305e9ed18bdd41e5c263 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;