Bugzilla – Attachment 65532 Details for
Bug 19047
Fix AddBiblio call in Reserves.t
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19047: Fix AddBiblio call in Reserves.t
Bug-19047-Fix-AddBiblio-call-in-Reservest.patch (text/plain), 1.37 KB, created by
Marcel de Rooy
on 2017-08-07 06:48:15 UTC
(
hide
)
Description:
Bug 19047: Fix AddBiblio call in Reserves.t
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2017-08-07 06:48:15 UTC
Size:
1.37 KB
patch
obsolete
>From 6fe960a46719c20444c316328415f9fc55d20144 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Mon, 7 Aug 2017 08:44:43 +0200 >Subject: [PATCH] Bug 19047: Fix AddBiblio call in Reserves.t >Content-Type: text/plain; charset=utf-8 > >AddBiblio does not return a title; the biblioitemnumber is stored in the >title variable. >The variables for biblioitemnumber are not used and can be removed. > >Test plan: >Run t/db_dependent/Reserves.t >--- > t/db_dependent/Reserves.t | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > >diff --git a/t/db_dependent/Reserves.t b/t/db_dependent/Reserves.t >index 810050e..d28c284 100755 >--- a/t/db_dependent/Reserves.t >+++ b/t/db_dependent/Reserves.t >@@ -93,8 +93,7 @@ else { > MARC::Field->new('245', '', '', a => $title), > ); > } >-my ($bibnum, $bibitemnum); >-($bibnum, $title, $bibitemnum) = AddBiblio($bib, $frameworkcode); >+my ( $bibnum ) = AddBiblio($bib, $frameworkcode); > > # Create a helper item instance for testing > my ( $item_bibnum, $item_bibitemnum, $itemnumber ) = AddItem( >@@ -235,7 +234,7 @@ $bib2->append_fields( > ); > > # create one item belonging to FPL and one belonging to CPL >-my ($bibnum2, $bibitemnum2) = AddBiblio($bib, $frameworkcode); >+my ( $bibnum2 ) = AddBiblio($bib, $frameworkcode); > my ($itemnum_cpl, $itemnum_fpl); > ( undef, undef, $itemnum_cpl ) = AddItem( > { homebranch => $branch_1, >-- >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 19047
:
65532
|
65558
|
65837
|
65838