Bug 12630: Rebase tests and cover CheckReserves
authorNick Clemens <nick@bywatersolutions.com>
Fri, 10 Jun 2022 14:47:44 +0000 (14:47 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 13 Jun 2022 13:24:50 +0000 (10:24 -0300)
commita1739ea43bfb7110059446989483f3282784527c
treeda672f00f5a2b2c1a16192e3fb1896f92a56ffee
parent2369076f99ce3415bcfe6ced74cc3edb6aef5a09
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>
C4/Reserves.pm
t/db_dependent/Reserves.t