Bug 25850: Regression Test
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 26 Jun 2020 15:52:50 +0000 (16:52 +0100)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 24 Jul 2020 20:39:46 +0000 (20:39 +0000)
commitf5f3269e25169e295fa495dc6b38114edcb767a6
tree14249d4e1602969d8521d90a3489dded6d085288
parenta531a75b628b04ed5638ddaf5add19e84e6779b5
Bug 25850: Regression Test

This patch adds a unit test to test for an infinite loop as highlighted
by the bug.

Test plan
1/ Run the test before applying the fix
2/ The test should fail for 'Sundays'
3/ Apply the subsquent patch
4/ Re-run the test
5/ It should now pass

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 95c8d19530e8bef20e02be0b74d7927764bf7ed1)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
t/db_dependent/Calendar.t