[Koha-bugs] [Bug 19532] Recalls for Koha
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Feb 25 11:27:47 CET 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19532
--- Comment #836 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Some intermediate observations. Will continue next week.
TODO FAIL t/db_dependent/Circulation/CalcFine.t
* The method Koha::Recalls->item_level_recall is not covered by tests!
=> Error in sub CalcFine (Overdues.pm)
=> This is related to the recent wantarray change in Koha: you do no longer
receive individual results, but a result set
TODO t/db_dependent/Koha/Biblio.t
# Failed test 'Recalls tests'
=> Related to the wantarray thing again
Example: # got: 'Koha::Recalls=HASH(0x55e97949bf68)' #
expected: '3'
TODO t/db_dependent/Circulation.t
# Subtest: CanBookBeRenewed tests # Looks like you planned 97 tests but ran
24.
The method Koha::Recalls->item_level_recall is not covered by tests!
Trace begun at /usr/share/koha/Koha/Objects.pm line 572
Koha::Objects::AUTOLOAD('Koha::Recalls=HASH(0x5566928b68a0)') called at
/usr/share/koha/C4/Overdues.pm line 267
C4::Overdues::CalcFine('HASH(0x556692872ac0)', 'v1HCIX_4rK', 'u4RykAzG',
'DateTime=HASH(0x5566928c98a0)', 'DateTime=HASH(0x556692855198)') called at
t/db_dependent/Circulation.t line 700
=> Looks like the same problem: wantarray trouble again
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list