]> git.koha-community.org Git - koha.git/commit
Bug 23382: (RM follow-up) Ensure tests pass on Wednesdays
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 6 Nov 2019 14:45:12 +0000 (14:45 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 6 Nov 2019 14:46:31 +0000 (14:46 +0000)
commite395844982d952d627dd40180f38303c50eb5402
tree3d8410b99675776dfe091bc2b50741c086fa3f38
parent137f4d167982c3be488592a573fc732644582877
Bug 23382: (RM follow-up) Ensure tests pass on Wednesdays

Koha::Calendar assumes we never issue an item on a closed day.. this is
a fair assumption but the hardcoded closed day in our tests means it
does not hold true in this case.

This patch sets the closed day dynamically to prevent such a case.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
t/db_dependent/Circulation.t