The unit tests did not take into account the new DB field.
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes all tests and QA script. Also all Acquisition related
patches.
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
use C4::Bookseller qw( GetBookSellerFromId );
-use Test::More tests => 87;
+use Test::More tests => 90;
BEGIN {
use_ok('C4::Acquisition');
quantity_to_receive
subtotal
latesince
+ cancellationreason
);
(
$test_missing_fields, $test_extra_fields,
frameworkcode
volumedesc
datecancellationprinted
+ cancellationreason
);
@expectedfields =
( @base_expectedfields,
budget_id
authorisedby
booksellerid
+ cancellationreason
);
# note that authorisedby was added to the return of SearchOrder by the