Bug 18999: Add regression tests
authorAlex Buckley <alexbuckley@catalyst.net.nz>
Fri, 18 Aug 2017 15:16:55 +0000 (15:16 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 25 Oct 2017 08:40:12 +0000 (10:40 +0200)
commit2df9a4c0e0793065ce6787d683a68bef72075ff6
tree6422302e738b77cd88d7cf4dfde24637fd54f30c
parentbe5ddee5889fd76e50bfbfd00deb173f7c07f83f
Bug 18999: Add regression tests

Added regression test for GetBudgetSpent() and GetBudgetOrdered() into
the t/db_dependent/Budgets.t

Test plan:
1. Go into your koha-shell

2. set the PERL5LIB variable

3. Run t/db_dependent/Budgets.t

All tests should pass

Sponsored-by: Catalyst IT

Signed-off-by: Lee Jamison <ldjamison@marywood.edu>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 776692f31167f32c1621168249a9ebfea2accc96)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
t/db_dependent/Budgets.t