From 51dfd560dd3451fc7528baea39ba920672738276 Mon Sep 17 00:00:00 2001
From: Robert Lange <robert.lange@uni-leipzig.de>
Date: Fri, 21 Apr 2023 15:21:25 +0200
Subject: [PATCH] refs #22022 [finc] adapt slot view helper in unit test

---
 .../unit-tests/src/fincTest/RecordDriver/SolrBaseTestCase.php  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/module/finc/tests/unit-tests/src/fincTest/RecordDriver/SolrBaseTestCase.php b/module/finc/tests/unit-tests/src/fincTest/RecordDriver/SolrBaseTestCase.php
index 037e2161a8f..a52d83752bc 100644
--- a/module/finc/tests/unit-tests/src/fincTest/RecordDriver/SolrBaseTestCase.php
+++ b/module/finc/tests/unit-tests/src/fincTest/RecordDriver/SolrBaseTestCase.php
@@ -144,7 +144,8 @@ class SolrBaseTestCase extends VuFindTestCase
             'serverUrl' => $serverUrl,
             'config' => $config,
             'url'   => $url,
-            'context' => new \VuFind\View\Helper\Root\Context()
+            'context' => new \VuFind\View\Helper\Root\Context(),
+            'slot' => new \VuFindTheme\View\Helper\Slot()
         ];
     }
 }
-- 
GitLab