From 8ab5f55d017224f1dc73f0f0447494a8ef02abab Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Thu, 23 Sep 2021 11:32:35 +0000 Subject: [PATCH] [21.05] Fix unit tests for t/Search.t --- t/Search.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/Search.t b/t/Search.t index 11d6eb54b7..2e857ed107 100755 --- a/t/Search.t +++ b/t/Search.t @@ -181,8 +181,8 @@ subtest "searchResults PassItemMarcToXSLT test" => sub { t::lib::Mocks::mock_preference('marcflavour','MARC21'); my $mock_xslt = Test::MockModule->new("C4::Search"); $mock_xslt->mock( XSLTParse4Display => sub { - my $params = shift; - my $record = $params->{record}; + my $biblionumber = shift; + my $record = shift; warn $record->field('952') ? "Item here" : "No item"; return; });