Bug 2587 followup, updated test.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
This commit is contained in:
Joe Atzberger 2008-09-23 12:15:11 -05:00 committed by Henri-Damien LAURENT
parent 4094f9522f
commit 002804a7d3
1 changed files with 1 additions and 4 deletions

View 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' )