[Koha-bugs] [Bug 31447] "Please confirm checkout" message uses patron's home library not holds pick up library
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Nov 7 08:21:37 CET 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31447
--- Comment #12 from Emmi Takkinen <emmi.takkinen at koha-suomi.fi> ---
(In reply to David Nind from comment #11)
> The tests fail 8-(...
>
> prove t/db_dependent/Circulation.t
> t/db_dependent/Circulation.t .. 62/67 Use of uninitialized value
> $rentalCharge in numeric gt (>) at /kohadevbox/koha/C4/Circulation.pm line
> 1119.
>
> # Failed test 'Branchcodes match when hold exists.'
> # at t/db_dependent/Circulation.t line 5718.
> # got: undef
> # expected: 'CU4TLG6'
> Use of uninitialized value $rentalCharge in numeric gt (>) at
> /kohadevbox/koha/C4/Circulation.pm line 1119.
> Use of uninitialized value $rentalCharge in numeric gt (>) at
> /kohadevbox/koha/C4/Circulation.pm line 1119.
> Use of uninitialized value $rentalCharge in numeric gt (>) at
> /kohadevbox/koha/C4/Circulation.pm line 1119.
> # Looks like you failed 1 test of 4.
> t/db_dependent/Circulation.t .. 64/67
> # Failed test 'CanBookBeIssued + needsconfirmation message'
> # at t/db_dependent/Circulation.t line 5733.
> # Looks like you planned 67 tests but ran 64.
> # Looks like you failed 1 test of 64 run.
> t/db_dependent/Circulation.t .. Dubious, test returned 1 (wstat 256, 0x100)
> Failed 4/67 subtests
>
> Test Summary Report
> -------------------
> t/db_dependent/Circulation.t (Wstat: 256 Tests: 64 Failed: 1)
> Failed test: 64
> Non-zero exit status: 1
> Parse errors: Bad plan. You planned 67 tests but ran 64.
> Files=1, Tests=64, 42 wallclock secs ( 0.11 usr 0.01 sys + 35.68 cusr 3.49
> csys = 39.29 CPU)
> Result: FAIL
It seems test fails because of circulation rules. Which is odd since this
wasn't an issue while I tested these.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list