Bug 8918: (follow-up) more unit tests for CalculatePriority
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 30 Jan 2014 13:16:03 +0000 (14:16 +0100)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 10 Mar 2014 17:35:00 +0000 (17:35 +0000)
commit9b9fd8597945d221d9d89d6ae6517c0c65179232
tree03694155f2b355565d6e2ae475e7b9d034e38213
parent52924e7b0ecddcceec8d22299e8fa4c5f04a991a
Bug 8918: (follow-up)  more unit tests for CalculatePriority

Adding a few unit tests, including the following situations:
Placing a hold when there is a wait.
Placing a hold when there is a future hold.
Calculating priority with future date.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
t/db_dependent/Reserves.t