From eae636f1a57ee6d90d2f8c4eaf2c1d92137ef875 Mon Sep 17 00:00:00 2001 From: Demian Katz Date: Thu, 30 Jan 2025 16:04:11 -0500 Subject: [PATCH] Fix test. --- .../src/VuFindTest/View/Helper/Root/RecordDataFormatterTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/VuFind/tests/unit-tests/src/VuFindTest/View/Helper/Root/RecordDataFormatterTest.php b/module/VuFind/tests/unit-tests/src/VuFindTest/View/Helper/Root/RecordDataFormatterTest.php index c637db39e23..a79a4839f42 100644 --- a/module/VuFind/tests/unit-tests/src/VuFindTest/View/Helper/Root/RecordDataFormatterTest.php +++ b/module/VuFind/tests/unit-tests/src/VuFindTest/View/Helper/Root/RecordDataFormatterTest.php @@ -89,7 +89,7 @@ protected function getViewHelpers($container): array }); $record->setDbServiceManager($serviceManager); return [ - 'assetPipeline' => new \VuFindTheme\View\Helper\AssetPipeline(), + 'assetPipeline' => $this->createMock(\VuFindTheme\View\Helper\AssetPipeline::class), 'auth' => new \VuFind\View\Helper\Root\Auth( $this->createMock(\VuFind\Auth\Manager::class), $this->createMock(\VuFind\Auth\ILSAuthenticator::class)