From 49155c10e909ec387504853d7a484d47be928453 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Fri, 5 Sep 2014 12:41:20 -0300 Subject: [PATCH] Bug 12879: Remove unnecesary diags from Holds.t To test: - Run $ prove t/db_dependent/Holds.t => SUCCESS: t/db_dependent/Holds.t .. 1/35 Use of uninitialized value in subroutine entry at /home/tcohen/git/koha-community-src/C4/Charset.pm line 181. Use of uninitialized value in subroutine entry at /home/tcohen/git/koha-community-src/C4/Charset.pm line 181. Use of uninitialized value in subroutine entry at /home/tcohen/git/koha-community-src/C4/Charset.pm line 181. t/db_dependent/Holds.t .. ok All tests successful. Files=1, Tests=35, 1 wallclock secs ( 0.03 usr 0.00 sys + 1.09 cusr 0.06 csys = 1.18 CPU) Result: PASS --- t/db_dependent/Holds.t | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/t/db_dependent/Holds.t b/t/db_dependent/Holds.t index 84f246f..1372f28 100755 --- a/t/db_dependent/Holds.t +++ b/t/db_dependent/Holds.t @@ -33,12 +33,10 @@ $insert_sth->execute('CAN'); $insert_sth->execute('CANNOT'); # Setup Test------------------------ -# Helper biblio. -diag("Creating biblio instance for testing."); +# Create a biblio instance for testing my ($bibnum, $title, $bibitemnum) = create_helper_biblio(); -# Helper item for that biblio. -diag("Creating item instance for testing."); +# Create item instance for testing. my ($item_bibnum, $item_bibitemnum, $itemnumber) = AddItem({ homebranch => 'CPL', holdingbranch => 'CPL' } , $bibnum); # Create some borrowers -- 1.9.1