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 313-319
is( $holds_queue->[1]->{cardnumber}, $borrower2->{cardnumber}, "Holds queue fill
Link Here
|
313 |
C4::Context->set_preference('HoldsQueueSkipClosed', 1); |
313 |
C4::Context->set_preference('HoldsQueueSkipClosed', 1); |
314 |
$ENV{NO_CACHE} = 1; |
314 |
$ENV{NO_CACHE} = 1; |
315 |
my $today = dt_from_string(); |
315 |
my $today = dt_from_string(); |
316 |
C4::Calendar->new( branchcode => 'MPL' )->insert_single_holiday( |
316 |
C4::Calendar->new( branchcode => $branchcodes[0] )->insert_single_holiday( |
317 |
day => $today->day(), |
317 |
day => $today->day(), |
318 |
month => $today->month(), |
318 |
month => $today->month(), |
319 |
year => $today->year(), |
319 |
year => $today->year(), |
320 |
- |
|
|