]> git.koha-community.org Git - koha.git/commit
Bug 25663: Add unit tests
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 3 Jun 2020 13:13:22 +0000 (14:13 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 13 Aug 2020 05:55:44 +0000 (07:55 +0200)
commite234eb84e103ae8fb29d81bf4702342a0faf5c91
tree3b06024c41a2c7f9039edad6cc17247016aeaed5
parent4de06b1711a3838adb79b6c33f6a5dd8a59e5bae
Bug 25663: Add unit tests

This patch adds unit tests for a new get_lostretun_policy method which
is getting added to Koha::CirculationRules.

Test plan:
1/ Read the additions to t/db_dependent/CirculationRules.t code
   and compare to the t/db_dependent/RefundLostItemFeeRule.t.
2/ Run the test after applying the patch that adds the new method
3/ If the tests all pass, signoff

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
t/db_dependent/Koha/CirculationRules.t