diff --git a/module/VuFind/src/VuFind/Tests/TestCase.php b/module/VuFind/src/VuFind/Tests/TestCase.php
index bda0284a754e43c1efc5e327303d57508561bec5..1f2fdcbb4dc1510a82dfd6d74989589fbbb54cee 100644
--- a/module/VuFind/src/VuFind/Tests/TestCase.php
+++ b/module/VuFind/src/VuFind/Tests/TestCase.php
@@ -125,6 +125,9 @@ abstract class TestCase extends \PHPUnit_Framework_TestCase
             $this->serviceManager->setService(
                 'SearchSpecsReader', new \VuFind\Config\SearchSpecsReader()
             );
+            $this->serviceManager->setService(
+                'Logger', new \VuFind\Log\Logger()
+            );
             \VuFind\Connection\Manager::setServiceLocator($this->serviceManager);
         }
         return $this->serviceManager;