Bug 12953: FIX NewOrder test
authorJonathan Druart <jonathan.druart@biblibre.com>
Thu, 18 Sep 2014 07:42:02 +0000 (09:42 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 18 Sep 2014 13:10:17 +0000 (10:10 -0300)
The patch for bug 12827 has been written some days before bug 10402. One
occurrence of NewOrder has not been modified.

Test plan:
  prove t/db_dependent/Letters.t

should return green.

Signed-off-by: Paola Rossi <paola.rossi@cineca.it>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
t/db_dependent/Letters.t

index 38d4a4c..32b760e 100644 (file)
@@ -308,7 +308,7 @@ if (C4::Context->preference('marcflavour') eq 'UNIMARC') {
 }
 
 ($biblionumber, $biblioitemnumber) = AddBiblio($bib, '');
-( undef, $ordernumber ) = C4::Acquisition::NewOrder(
+$ordernumber = C4::Acquisition::NewOrder(
     {
         basketno => $basketno,
         quantity => 1,