Bugzilla – Attachment 57531 Details for
Bug 17641
t/Biblio/Isbd.t is failing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17641: Fix t/Biblio/Isbd.t
Bug-17641-Fix-tBiblioIsbdt.patch (text/plain), 1.15 KB, created by
Jonathan Druart
on 2016-11-16 09:51:22 UTC
(
hide
)
Description:
Bug 17641: Fix t/Biblio/Isbd.t
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-11-16 09:51:22 UTC
Size:
1.15 KB
patch
obsolete
>From 09c508e17c62efab7e1eb62ef8801e1ade1948b1 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >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 >--- > 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, '<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'); >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 17641
:
57531
|
57536
|
57545