From eb509b0c55f942163f08c258b890a9cb8ce4c5e5 Mon Sep 17 00:00:00 2001 From: Connor Dewar Date: Wed, 18 Jan 2012 15:33:43 +1300 Subject: [PATCH] [SIGNED-OFF]Bug 5327 Added unit tests for C4/SIP/ILS/Transaction/Renew.pm Signed-off-by: Chris Hall --- t/db_dependent/SIP_ILS.t | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/t/db_dependent/SIP_ILS.t b/t/db_dependent/SIP_ILS.t index daf1c29..ff01f8f 100755 --- a/t/db_dependent/SIP_ILS.t +++ b/t/db_dependent/SIP_ILS.t @@ -27,3 +27,7 @@ $transaction2->patron(my $patron2 = ILS::Patron->new("ABCDE12345")); ok(!defined $patron2, "patron code: ABCDE12345 is invalid"); ok($transaction->do_renew_all(), "items renewed correctly"); + + +my $object = ILS::Transaction::Renew->new(); +is($object->do_renew(), "", ""); -- 1.7.4.1