diff --git a/module/VuFind/src/VuFindTest/Unit/ViewHelperTestCase.php b/module/VuFind/src/VuFindTest/Unit/ViewHelperTestCase.php
index bbbc68549c1cb67c2dc6c27643661be943708d34..669a9f72422722ff9302ae70da7cc2c39c95829f 100644
--- a/module/VuFind/src/VuFindTest/Unit/ViewHelperTestCase.php
+++ b/module/VuFind/src/VuFindTest/Unit/ViewHelperTestCase.php
@@ -37,7 +37,7 @@ namespace VuFindTest\Unit;
  * @license  http://opensource.org/licenses/gpl-2.0.php GNU General Public License
  * @link     https://vufind.org/wiki/development:testing:unit_tests Wiki
  */
-abstract class ViewHelperTestCase extends TestCase
+abstract class ViewHelperTestCase extends DbTestCase
 {
     /**
      * Get a working renderer.
diff --git a/module/VuFind/tests/integration-tests/src/VuFindTest/Connection/SolrAuthTest.php b/module/VuFind/tests/integration-tests/src/VuFindTest/Connection/SolrAuthTest.php
index e299566f80d5ea0229c9dae499ecb354fb51368b..22c7785e47bd46101dd8652a479c515c1db6a06c 100644
--- a/module/VuFind/tests/integration-tests/src/VuFindTest/Connection/SolrAuthTest.php
+++ b/module/VuFind/tests/integration-tests/src/VuFindTest/Connection/SolrAuthTest.php
@@ -38,7 +38,7 @@ use VuFindSearch\Query\Query;
  * @license  http://opensource.org/licenses/gpl-2.0.php GNU General Public License
  * @link     https://vufind.org/wiki/development:testing:unit_tests Wiki
  */
-class SolrAuthTest extends \VuFindTest\Unit\TestCase
+class SolrAuthTest extends \VuFindTest\Unit\DbTestCase
 {
     /**
      * Standard setup method.