Bug 12630: Rebase tests and cover CheckReserves
authorNick Clemens <nick@bywatersolutions.com>
Fri, 10 Jun 2022 14:47:44 +0000 (14:47 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 15 Jul 2022 17:37:46 +0000 (17:37 +0000)
commit12b90bb02f50af547c8214e2e89620ef2ea50385
treee430b971f48071960acfb9baa548bbf7c3c63a6e
parent475a5b3fb2b2deeb92ae2e73590e297ea75d5df0
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>
C4/Reserves.pm
t/db_dependent/Reserves.t