Bug 5327 Added unit tests for C4/SIP/ILS/Transaction/Renew.pm
Signed-off-by: Chris Hall <chrish@catalyst.net.nz> (cherry picked from commit597fabf4f4) Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com> (cherry picked from commitbb06b9ac1b) Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
This commit is contained in:
parent
ab2d045da7
commit
ec020e1709
|
|
@ -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(), "", "");
|
||||
|
|
|
|||
Loading…
Reference in New Issue