|
Lines 8-14
Link Here
|
| 8 |
|
8 |
|
| 9 |
use Modern::Perl; |
9 |
use Modern::Perl; |
| 10 |
|
10 |
|
| 11 |
use Test::More tests => 24; |
11 |
use Test::More tests => 25; |
| 12 |
use Data::Dumper; |
12 |
use Data::Dumper; |
| 13 |
|
13 |
|
| 14 |
use C4::Branch; |
14 |
use C4::Branch; |
|
Lines 323-329
is( $holds_queue->[1]->{cardnumber}, $borrower2->{cardnumber}, "Holds queue fill
Link Here
|
| 323 |
C4::Context->set_preference('HoldsQueueSkipClosed', 1); |
323 |
C4::Context->set_preference('HoldsQueueSkipClosed', 1); |
| 324 |
$ENV{NO_CACHE} = 1; |
324 |
$ENV{NO_CACHE} = 1; |
| 325 |
my $today = dt_from_string(); |
325 |
my $today = dt_from_string(); |
| 326 |
C4::Calendar->new( branchcode => 'MPL' )->insert_single_holiday( |
326 |
C4::Calendar->new( branchcode => $branchcodes[0] )->insert_single_holiday( |
| 327 |
day => $today->day(), |
327 |
day => $today->day(), |
| 328 |
month => $today->month(), |
328 |
month => $today->month(), |
| 329 |
year => $today->year(), |
329 |
year => $today->year(), |
| 330 |
- |
|
|