From a8ae524ffea9bc12de6196e1937155300faccb1e Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 10 Aug 2017 15:06:39 -0300 Subject: [PATCH] Bug 19047: Fix AddBiblio call in ShelfBrowser.t Signed-off-by: Jonathan Druart Signed-off-by: Jonathan Druart (cherry picked from commit b4ce1feb1bc6b4f20cf71bd545e018917cf518db) Signed-off-by: Fridolin Somers (cherry picked from commit 2b903d74acbdefbfb1dd678f23dc57f655262940) Signed-off-by: Katrin Fischer --- t/db_dependent/ShelfBrowser.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/ShelfBrowser.t b/t/db_dependent/ShelfBrowser.t index 10bf219de7..de01139fba 100644 --- a/t/db_dependent/ShelfBrowser.t +++ b/t/db_dependent/ShelfBrowser.t @@ -59,7 +59,7 @@ $record->append_fields( MARC::Field->new('100', ' ', ' ', a => 'Donald E. Knuth.'), MARC::Field->new('245', ' ', ' ', a => 'The art of computer programming'), ); -my ( $biblionumber, undef, undef ) = C4::Biblio::AddBiblio($record, ''); +my ( $biblionumber ) = C4::Biblio::AddBiblio($record, ''); for my $callnumber ( shuffle @callnumbers ) { my ( $biblionumber, undef, $itemnumber ) = C4::Items::AddItem({ -- 2.39.5