From 481929bd5e45d64a5b6437a560f5bac3ce16b024 Mon Sep 17 00:00:00 2001 From: Andrew Moore Date: Fri, 15 Aug 2008 11:40:05 -0500 Subject: [PATCH] bug 2525: fixing tests for misc/cronjobs/longoverdue.pl 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 --- t/lib/KohaTest/Scripts/longoverdue.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/lib/KohaTest/Scripts/longoverdue.pm b/t/lib/KohaTest/Scripts/longoverdue.pm index dcfb1a4adc..ea1c317311 100644 --- a/t/lib/KohaTest/Scripts/longoverdue.pm +++ b/t/lib/KohaTest/Scripts/longoverdue.pm @@ -86,7 +86,7 @@ sub set_overdue_item_lost : Test( 12 ) { 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" ); -- 2.39.5