]> git.koha-community.org Git - koha.git/commit
Bug 12630: Rebase tests and cover CheckReserves
authorNick Clemens <nick@bywatersolutions.com>
Fri, 10 Jun 2022 14:47:44 +0000 (14:47 +0000)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Thu, 21 Jul 2022 14:31:11 +0000 (16:31 +0200)
commitba3d9d51de900e776bbb15ac8a7ae5caecd0ac95
treed0cf25ba4f0be355f396f71cfbeec507789d9482
parent95f1902700fb767a5880f069649e11bb3815f103
Bug 12630: Rebase tests and cover CheckReserves

It turns out we do honor reservedate in CheckReserves, so a hold with a lower priority will
fill before a hold in the future. I add tests to cover this and fix the old tests to pass again

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit a1739ea43bfb7110059446989483f3282784527c)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 12b90bb02f50af547c8214e2e89620ef2ea50385)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
C4/Reserves.pm
t/db_dependent/Reserves.t