Lines 5709-5714
subtest "CanBookBeIssued + needsconfirmation message" => sub {
Link Here
|
5709 |
my $biblioitem = $builder->build_object({ class => 'Koha::Biblioitems', value => { biblionumber => $biblio->biblionumber }}); |
5709 |
my $biblioitem = $builder->build_object({ class => 'Koha::Biblioitems', value => { biblionumber => $biblio->biblionumber }}); |
5710 |
my $item = $builder->build_object({ class => 'Koha::Items' , value => { biblionumber => $biblio->biblionumber }}); |
5710 |
my $item = $builder->build_object({ class => 'Koha::Items' , value => { biblionumber => $biblio->biblionumber }}); |
5711 |
|
5711 |
|
|
|
5712 |
my $item_group = $item->item_group; |
5713 |
|
5712 |
my $hold = $builder->build_object({ class => 'Koha::Holds', value => { |
5714 |
my $hold = $builder->build_object({ class => 'Koha::Holds', value => { |
5713 |
biblionumber => $item->biblionumber, |
5715 |
biblionumber => $item->biblionumber, |
5714 |
branchcode => $library->branchcode, |
5716 |
branchcode => $library->branchcode, |
Lines 5717-5723
subtest "CanBookBeIssued + needsconfirmation message" => sub {
Link Here
|
5717 |
priority => 1, |
5719 |
priority => 1, |
5718 |
found => undef, |
5720 |
found => undef, |
5719 |
suspend => 0, |
5721 |
suspend => 0, |
5720 |
item_group_id => $item->item_group |
5722 |
item_group_id => $item_group, |
5721 |
}}); |
5723 |
}}); |
5722 |
|
5724 |
|
5723 |
my ( $error, $needsconfirmation, $alerts, $messages ); |
5725 |
my ( $error, $needsconfirmation, $alerts, $messages ); |
5724 |
- |
|
|