[Koha-bugs] [Bug 30697] IsAvailableForItemLevelRequest returns wrong when items_any_available is defined

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 6 09:29:23 CEST 2022


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

--- Comment #4 from Arthur Suzuki <arthur.suzuki at biblibre.com> ---
Thank you for the test case!
Still missing automated tests though...
Have a look at the file t/db_dependant/Reserves.t
You may find some help in writing unit_tests in this bug too (actually, your
patch may solve my problem!) :
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20985

Do you know how to run unit tests?
If you use Koha-testing-docker (ktd) this is very easy :
when in Koha source dir, within ktd (after kshell on the host), you can run
this command :
prove t/db_dependant/Reserves.t

Best,

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


More information about the Koha-bugs mailing list