[Koha-bugs] [Bug 26506] Koha::Account::pay will fail if $userenv is not set
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Nov 17 04:34:48 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26506
Aleisha Amohia <aleisha at catalyst.net.nz> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |aleisha at catalyst.net.nz
--- Comment #13 from Aleisha Amohia <aleisha at catalyst.net.nz> ---
tests fail on 19.11.x. not backported.
$ prove t/db_dependent/Koha/Account.t
t/db_dependent/Koha/Account.t .. 7/11 # Looks like you planned 5 tests but
ran 4.
# Failed test 'pay() tests'
# at t/db_dependent/Koha/Account.t line 724.
Can't use string ("71") as a HASH ref while "strict refs" in use at
t/db_dependent/Koha/Account.t line 720.
# Looks like your test exited with 255 just after 8.
t/db_dependent/Koha/Account.t .. Dubious, test returned 255 (wstat 65280,
0xff00)
Failed 4/11 subtests
Test Summary Report
-------------------
t/db_dependent/Koha/Account.t (Wstat: 65280 Tests: 8 Failed: 1)
Failed test: 8
Non-zero exit status: 255
Parse errors: Bad plan. You planned 11 tests but ran 8.
Files=1, Tests=8, 3 wallclock secs ( 0.02 usr 0.01 sys + 2.42 cusr 0.84
csys = 3.29 CPU)
Result: FAIL
if needed, please fix.
There also doesn't seem to be a test plan here so I'm not sure how to test
this.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list