Lines 8-14
use POSIX qw(strftime);
Link Here
|
8 |
|
8 |
|
9 |
use C4::Bookseller qw( GetBookSellerFromId ); |
9 |
use C4::Bookseller qw( GetBookSellerFromId ); |
10 |
|
10 |
|
11 |
use Test::More tests => 88; |
11 |
use Test::More tests => 91; |
12 |
|
12 |
|
13 |
BEGIN { |
13 |
BEGIN { |
14 |
use_ok('C4::Acquisition'); |
14 |
use_ok('C4::Acquisition'); |
Lines 408-413
my @expectedfields = qw(
Link Here
|
408 |
quantity_to_receive |
408 |
quantity_to_receive |
409 |
subtotal |
409 |
subtotal |
410 |
latesince |
410 |
latesince |
|
|
411 |
cancellationreason |
411 |
); |
412 |
); |
412 |
( |
413 |
( |
413 |
$test_missing_fields, $test_extra_fields, |
414 |
$test_missing_fields, $test_extra_fields, |
Lines 521-526
my @base_expectedfields = qw(
Link Here
|
521 |
frameworkcode |
522 |
frameworkcode |
522 |
volumedesc |
523 |
volumedesc |
523 |
datecancellationprinted |
524 |
datecancellationprinted |
|
|
525 |
cancellationreason |
524 |
); |
526 |
); |
525 |
@expectedfields = |
527 |
@expectedfields = |
526 |
( @base_expectedfields, |
528 |
( @base_expectedfields, |
Lines 649-654
ok(
Link Here
|
649 |
budget_id |
651 |
budget_id |
650 |
authorisedby |
652 |
authorisedby |
651 |
booksellerid |
653 |
booksellerid |
|
|
654 |
cancellationreason |
652 |
); |
655 |
); |
653 |
|
656 |
|
654 |
# note that authorisedby was added to the return of SearchOrder by the |
657 |
# note that authorisedby was added to the return of SearchOrder by the |
655 |
- |
|
|