From bb06b9ac1b40cccced78716fda40d412b126b36c 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 Signed-off-by: Chris Hall (cherry picked from commit 597fabf4f474c52d0c9fc3f9fa9ce0267f6e04e2) Signed-off-by: Chris Nighswonger --- t/db_dependent/SIP_ILS.t | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/t/db_dependent/SIP_ILS.t b/t/db_dependent/SIP_ILS.t index daf1c29af2..ff01f8fbd4 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(), "", ""); -- 2.39.5