Bug 25850: Regression Test
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 26 Jun 2020 15:52:50 +0000 (16:52 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 16 Jul 2020 14:27:49 +0000 (15:27 +0100)
commit95c8d19530e8bef20e02be0b74d7927764bf7ed1
treeed56419d64202c9f7f4b073833a3d395f38ec03e
parent4ed4e468d2ceaf4502b817feb791656d5a159fa5
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>
t/db_dependent/Calendar.t