[21.05] Fix unit tests for t/Search.t
This commit is contained in:
parent
e30987857d
commit
8ab5f55d01
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue