Bug 2587 followup, updated test.
authorJoe Atzberger <joe.atzberger@liblime.com>
Tue, 23 Sep 2008 17:15:11 +0000 (12:15 -0500)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Wed, 12 Nov 2008 13:30:01 +0000 (14:30 +0100)
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
t/lib/KohaTest/Circulation/AddIssue.pm

index dde87e2..73cf7b2 100644 (file)
@@ -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' )