]> git.koha-community.org Git - koha.git/commit
Bug 19945: (follow-up) optimization and test correction
authorMark Tompsett <mtompset@hotmail.com>
Tue, 27 Mar 2018 19:31:36 +0000 (19:31 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Mon, 28 Jan 2019 13:06:28 +0000 (13:06 +0000)
commitabf19383ed3c1e594b75df4cdaf24d6505128a12
treea11042a1e94b4717afe62c45ccdce3345fd90819
parentac840a846011f8f6f24686ef68f73e7b59f9704e
Bug 19945: (follow-up) optimization and test correction

The double call to CanItemBeReserved was pointless in
the C4/Reserves.pm HoldItem, as CanBookBeReserved calls
CanItemBeReserved and even returns that code.

Additionally, the tests failed, because there were 5
tests not 4.

TEST PLAN
----------
prove t/db_dependent/ILSDI_Services.t
run koha qa test tools

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
C4/ILSDI/Services.pm