Bug 36923: Remove warnings from Holds/LocalHoldsPriority.t
t/db_dependent/Holds/LocalHoldsPriority.t .. 1/7 Use of uninitialized value in numeric gt (>) at /kohadevbox/koha/C4/Reserves.pm line 866. t/db_dependent/Holds/LocalHoldsPriority.t .. 2/7 Use of uninitialized value in numeric gt (>) at /kohadevbox/koha/C4/Reserves.pm line 866. Use of uninitialized value in numeric gt (>) at /kohadevbox/koha/C4/Reserves.pm line 866. Use of uninitialized value in numeric gt (>) at /kohadevbox/koha/C4/Reserves.pm line 866. t/db_dependent/Holds/LocalHoldsPriority.t .. 5/7 Use of uninitialized value in numeric gt (>) at /kohadevbox/koha/C4/Reserves.pm line 866. t/db_dependent/Holds/LocalHoldsPriority.t .. ok All tests successful. We didn't have the default values generated by the DBMS Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> (cherry picked from commit6827c9061f) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> (cherry picked from commit233e92f899) Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
80c86b6f21
commit
02f57e92b9
|
|
@ -50,7 +50,7 @@ my $item = Koha::Item->new(
|
|||
itype => $itemtype,
|
||||
exclude_from_local_holds_priority => 0,
|
||||
},
|
||||
)->store;
|
||||
)->store->get_from_storage;
|
||||
|
||||
my @branchcodes = ( $library1->{branchcode}, $library2->{branchcode}, $library3->{branchcode}, $library4->{branchcode}, $library3->{branchcode}, $library4->{branchcode} );
|
||||
my $patron_category = $builder->build({ source => 'Category', value => {exclude_from_local_holds_priority => 0} });
|
||||
|
|
|
|||
Loading…
Reference in New Issue