Bug 11218: regression tests for Due notice generation
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Thu, 7 Nov 2013 23:26:45 +0000 (00:26 +0100)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 8 Nov 2013 16:21:55 +0000 (16:21 +0000)
commit2b391db890ec6d24dd1ba1fd2137bfdb560c6bed
tree0a84121df31a7bd25333bdfe3713f16b7a1e0391
parent5fa616821c3fff93aeecb73d8cd28316e929a027
Bug 11218: regression tests for Due notice generation

Changes tests for GetUpcomingDueIssues:

days_in_advance should be inclusive:
 2 should find items due in 2 days from now.
 1 should find items due tomorrow.
 0 should only find items due today.

Adds new tests for Bug 11218:

As the advance_notices.pl, the only script using GetUpcomingDueIssues
is not only used for PREDUE notices, but also for
DUE notices, we need to also select items due today.

Signed-off-by: Liz Rea <liz@catalyst.net.nz>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
t/db_dependent/Circulation.t