From f3e37d967e30fafd9ca6573e654e286e04f5f4d6 Mon Sep 17 00:00:00 2001 From: Connor Dewar Date: Wed, 18 Jan 2012 15:33:43 +1300 Subject: [PATCH] Bug 5327 Added unit tests for C4/SIP/ILS/Transaction/Renew.pm --- 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