From 8d76441a4c0eb33f4f4e8cf796e093ff12bfd334 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 10 Mar 2014 16:44:00 +0000 Subject: [PATCH] Bug 11224: (follow-up) clean up unit test for bug 10723 This patch removes the remainder of the old unit test for bug 10723 and updates the label of the new test that now checks that SearchOrders({ pending => 1}) omits received orders. Signed-off-by: Galen Charlton --- t/db_dependent/Acquisition.t | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/t/db_dependent/Acquisition.t b/t/db_dependent/Acquisition.t index 9d0b124a77..87f0f0f8c9 100755 --- a/t/db_dependent/Acquisition.t +++ b/t/db_dependent/Acquisition.t @@ -697,7 +697,7 @@ ok( ), @$search_orders ) ), - "SearchOrders with pending params gets only pending orders" + "SearchOrders with pending params gets only pending orders (bug 10723)" ); # @@ -773,15 +773,6 @@ is( "AddClaim : Check claimed_date" ); -my $firstorder = $search_orders->[0]; - -# fake receiving the order -ModOrder({ - ordernumber => $firstorder->{ordernumber}, - biblionumber => $firstorder->{biblionumber}, - quantityreceived => $firstorder->{quantity}, -}); - ( $datereceived, $new_ordernumber ) = ModReceiveOrder( $biblionumber2, $ordernumbers[1], 2, undef, 12, 12, $invoiceid, 42, ); -- 2.39.5