[Koha-bugs] [Bug 27068] HoldsQueue doesn't know how to use holds groups

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Feb 23 17:25:18 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27068

--- Comment #34 from Andrew Fuerste-Henry <andrew at bywatersolutions.com> ---
Well drat. I've for test failures after backporting this to 20.05:
root at kohadevbox:koha(rmain2005)$ prove t/db_dependent/HoldsQueue.t
t/db_dependent/HoldsQueue.t .. 3/55 The method
Koha::Item->exclude_from_local_holds_priority is not covered by tests!

Trace begun at /kohadevbox/koha/Koha/Object.pm line 780
Koha::Object::AUTOLOAD('Koha::Item=HASH(0x56534a141a70)') called at
/kohadevbox/koha/C4/HoldsQueue.pm line 457
C4::HoldsQueue::MapItemsToHoldRequests('ARRAY(0x56534a155a30)',
'ARRAY(0x56534a11abd8)', 'ARRAY(0x56534a141008)', undef) called at
/kohadevbox/koha/C4/HoldsQueue.pm line 212
C4::HoldsQueue::CreateQueue at t/db_dependent/HoldsQueue.t line 388
# Looks like your test exited with 11 just after 26.
t/db_dependent/HoldsQueue.t .. Dubious, test returned 11 (wstat 2816, 0xb00)
Failed 29/55 subtests 

Test Summary Report
-------------------
t/db_dependent/HoldsQueue.t (Wstat: 2816 Tests: 26 Failed: 0)
  Non-zero exit status: 11
  Parse errors: Bad plan.  You planned 55 tests but ran 26.
Files=1, Tests=26,  3 wallclock secs ( 0.02 usr  0.01 sys +  1.76 cusr  0.36
csys =  2.15 CPU)
Result: FAIL
root at kohadevbox:koha(rmain2005)$

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list