|
Lines 1379-1385
subtest "Test _checkHoldPolicy" => sub {
Link Here
|
| 1379 |
my $library1 = $builder->build_object( { class => 'Koha::Libraries' } ); |
1379 |
my $library1 = $builder->build_object( { class => 'Koha::Libraries' } ); |
| 1380 |
my $library2 = $builder->build_object( { class => 'Koha::Libraries' } ); |
1380 |
my $library2 = $builder->build_object( { class => 'Koha::Libraries' } ); |
| 1381 |
my $library_nongroup = $builder->build_object( { class => 'Koha::Libraries' } ); |
1381 |
my $library_nongroup = $builder->build_object( { class => 'Koha::Libraries' } ); |
| 1382 |
my $category = $builder->build_object( { class => 'Koha::Patron::Categories', value => {exclude_from_local_holds_priority => 0} }); |
1382 |
my $category = $builder->build_object( { class => 'Koha::Patron::Categories' }); |
| 1383 |
my $patron = $builder->build_object( |
1383 |
my $patron = $builder->build_object( |
| 1384 |
{ |
1384 |
{ |
| 1385 |
class => "Koha::Patrons", |
1385 |
class => "Koha::Patrons", |
|
Lines 1394-1400
subtest "Test _checkHoldPolicy" => sub {
Link Here
|
| 1394 |
{ |
1394 |
{ |
| 1395 |
biblionumber => $biblio->biblionumber, |
1395 |
biblionumber => $biblio->biblionumber, |
| 1396 |
library => $library1->branchcode, |
1396 |
library => $library1->branchcode, |
| 1397 |
exclude_from_local_holds_priority => 0, |
|
|
| 1398 |
} |
1397 |
} |
| 1399 |
); |
1398 |
); |
| 1400 |
|
1399 |
|
| 1401 |
- |
|
|