From ee57e9b8fd5ec8b4893cdec608ee98c6a67a26e0 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 16 Nov 2016 09:49:20 +0000 Subject: [PATCH] Bug 17641: Fix t/Biblio/Isbd.t On commit cadf5aea814636ccccd85fcc38aa30f751d779c0 Bug 11592: MARCView and ISBD followup The prototype of C4::Biblio::GetISBDView has been changed to take a hashref in parameter. But the tests have not been updated Test plan: prove t/Biblio/Isbd.t should return green Signed-off-by: Kyle M Hall https://bugs.koha-community.org/show_bug.cgi?id=17637 --- t/Biblio/Isbd.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/Biblio/Isbd.t b/t/Biblio/Isbd.t index 8b6239e..be790e9 100644 --- a/t/Biblio/Isbd.t +++ b/t/Biblio/Isbd.t @@ -43,8 +43,8 @@ $record->append_fields( ); my ($bibnum, $title, $bibitemnum) = AddBiblio($record, ''); -my $isbd = GetISBDView($bibnum); +my $isbd = GetISBDView({ record => $record }); is($isbd, '

Title : Mountains by Keith Lye

', 'ISBD is correct'); -my $opacisbd = GetISBDView($bibnum, 'opac'); +my $opacisbd = GetISBDView({ record => $record, template => 'opac' }); is($opacisbd, '

Title : Mountains (Keith Lye)

', 'OPAC ISBD is correct'); -- 2.1.4