Bug 17641: Fix t/Biblio/Isbd.t

On commit cadf5aea81
    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 <kyle@bywatersolutions.com>

https://bugs.koha-community.org/show_bug.cgi?id=17637
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Jonathan Druart 2016-11-16 09:49:20 +00:00 committed by Kyle M Hall
parent fbaa28bf2a
commit 08f7baf3e3
1 changed files with 2 additions and 2 deletions

View File

@ -43,8 +43,8 @@ $record->append_fields(
);
my ($bibnum, $title, $bibitemnum) = AddBiblio($record, '');
my $isbd = GetISBDView($bibnum);
my $isbd = GetISBDView({ record => $record });
is($isbd, '<h2>Title : Mountains by Keith Lye</h2>', 'ISBD is correct');
my $opacisbd = GetISBDView($bibnum, 'opac');
my $opacisbd = GetISBDView({ record => $record, template => 'opac' });
is($opacisbd, '<h2>Title : Mountains (Keith Lye)</h2>', 'OPAC ISBD is correct');