]> git.koha-community.org Git - koha.git/commit
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)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 18 Nov 2013 17:21:47 +0000 (14:21 -0300)
commit361bc49390e63b451396584236ff7859d511613d
tree1a006146329591152b291cff0dae423ebfef5a72
parent6aea4e075bcadb80d4159e25980d88ae0547240a
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: Tomas Cohen Arazi <tomascohen@gmail.com>
Rebased for 3.12.x
t/db_dependent/Circulation.t