[Koha-patches] [PATCH] Bug 2587 followup, updated test.

Joe Atzberger joe.atzberger at liblime.com
Tue Sep 23 19:15:11 CEST 2008


---
 t/lib/KohaTest/Circulation/AddIssue.pm |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/t/lib/KohaTest/Circulation/AddIssue.pm b/t/lib/KohaTest/Circulation/AddIssue.pm
index dde87e2..73cf7b2 100644
--- a/t/lib/KohaTest/Circulation/AddIssue.pm
+++ b/t/lib/KohaTest/Circulation/AddIssue.pm
@@ -44,10 +44,7 @@ sub basic_usage : Test( 11 ) {
       or diag( Data::Dumper->Dump( [ $issuingimpossible, $needsconfirmation ], [ qw( issuingimpossible needsconfirmation ) ] ) );
 
     my $datedue = C4::Circulation::AddIssue( $borrower, $barcode );
-    {
-        local $TODO = 'AddIssue does not actually return the due date';
-        ok( $datedue, "the item has been issued and it is due: $datedue" );
-    }
+    ok( $datedue, "the item has been issued and it is due: $datedue" );
     
     my $after_issues = C4::Circulation::GetItemIssue( $self->{'items'}[0]{'itemnumber'} );
     is( $after_issues->{'borrowernumber'}, $borrowernumber, '...and now it is checked out to our borrower' )
-- 
1.5.5.GIT




More information about the Koha-patches mailing list