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 <gmc@esilibrary.com>
This commit is contained in:
Galen Charlton 2014-03-10 16:44:00 +00:00
parent f4251e85fa
commit 8d76441a4c

View file

@ -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, );