projects
/
koha.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bug 10723: Merge GetPendingOrders and SearchOrders routines
[koha.git]
/
t
/
db_dependent
/
Acquisition.t
diff --git
a/t/db_dependent/Acquisition.t
b/t/db_dependent/Acquisition.t
index
c7b3c4a
..
90d5a88
100755
(executable)
--- a/
t/db_dependent/Acquisition.t
+++ b/
t/db_dependent/Acquisition.t
@@
-80,8
+80,10
@@
my ($biblionumber2, $biblioitemnumber2) = AddBiblio(MARC::Record->new, '');
}
);
-my $grouped = 0;
-my $orders = GetPendingOrders( $booksellerid, $grouped );
+my $orders = SearchOrders({
+ booksellerid => $booksellerid,
+ pending => 1
+});
isa_ok( $orders, 'ARRAY' );
C4::Acquisition::CloseBasket( $basketno );