From 2f95419c362d17cd4df30df11d6aabc1aaabc824 Mon Sep 17 00:00:00 2001 From: Paul Poulain Date: Thu, 15 Dec 2011 16:14:35 +0100 Subject: [PATCH] Revert "Bug 5327: Added unit test for C4/SIP/ILS/Transaction/RenewAll.pm" This reverts commit 06c822c37ce91e5936542990d7e3299e14271bd3. (cherry picked from commit 8df873c1a298d9c7e4283372201466d28fa1a784) Signed-off-by: Chris Nighswonger --- t/SIP_ILS.t | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/t/SIP_ILS.t b/t/SIP_ILS.t index 32ec7d4d67..4a3ee70774 100755 --- a/t/SIP_ILS.t +++ b/t/SIP_ILS.t @@ -6,24 +6,11 @@ use strict; use warnings; -use Test::More tests => 4; +use Test::More tests => 1; BEGIN { use FindBin; use lib "$FindBin::Bin/../C4/SIP"; use_ok('C4::SIP::ILS'); -}; +} -my $transaction = ILS::Transaction::RenewAll->new(); - -$transaction->patron(my $patron = ILS::Patron->new(23529000120056)); - -ok(defined $patron, "patron code: 23529000120056 is valid"); - -my $transaction2 = ILS::Transaction::RenewAll->new(); -$transaction2->patron(my $patron2 = ILS::Patron->new("ABCDE12345")); - -#This test assumes that the patron code ABCDE12345 is invalid -ok(!defined $patron2, "patron code: ABCDE12345 is invalid"); - -ok($transaction->do_renew_all(), "items renewed correctly"); -- 2.39.5