This patch fixes the tests so that they include the new required parameters for longoverdues.pl.
This patch also doesn't include a test script that accidently got in the last one.
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
is( $issued_item->{'itemlost'}, 0, 'the item is not lost' );
# diag( Data::Dumper->Dump( [ $issued_item ], [ 'issued_item' ] ) );
- qx( ../misc/cronjobs/longoverdue.pl );
+ qx( ../misc/cronjobs/longoverdue.pl --lost 90=2 --confirm );
my $lost_item = C4::Items::GetItem( $self->{'overdueitemnumber'} );
is( $lost_item->{'onloan'}, $duedateyyyymmdd, "the item is checked out and due $duedatestring" );