Bug 25850: Regression Test
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 26 Jun 2020 15:52:50 +0000 (16:52 +0100)
committerAleisha Amohia <aleishaamohia@hotmail.com>
Thu, 30 Jul 2020 11:57:29 +0000 (23:57 +1200)
commit0656ff9a99d733b483e6b800d8b58554435109b5
tree45db3442981d0c10a53cb680029ebf1c6a448c9d
parent73e40ba8044a05e2bf13f1b8492fe1cf2c46d742
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>
(cherry picked from commit f5f3269e25169e295fa495dc6b38114edcb767a6)

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
t/db_dependent/Calendar.t