[Koha-bugs] [Bug 31060] Fine duplicates when returning item with accountline status marked as lost

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jun 28 23:18:51 CEST 2022


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

--- Comment #2 from Shi Yao Wang <shi-yao.wang at inLibro.com> ---
Actually, unit tests doesn't seem happy with this: 

prove t/db_dependent/Circulation.t 
>t/db_dependent/Circulation.t .. 17/61     # No tests run!
>t/db_dependent/Circulation.t .. 18/61 
>#   Failed test 'No tests run for subtest "GetUpcomingDueIssues"'
>#   at t/db_dependent/Circulation.t line 1594.
>Exception 'Koha::Exceptions::Account::UnrecognisedType' thrown 'Update type not >allowed on this debit_type'
># Looks like your test exited with 255 just after 18.
>t/db_dependent/Circulation.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
>Failed 44/61 subtests

Maybe a better solution is to make accountlines with status=LOST to switch back
to UNRETURNED at step 9.

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


More information about the Koha-bugs mailing list