]> git.koha-community.org Git - koha.git/commit
Bug 18936: (follow-up) Add missing circulation rule to fix tests
authorJoonas Kylmälä <joonas.kylmala@helsinki.fi>
Wed, 22 Jan 2020 17:03:03 +0000 (19:03 +0200)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 4 Feb 2020 09:56:28 +0000 (09:56 +0000)
commit47781d91df6434757a4b39adbd2181cc1b4b28fc
tree867190c193f9a42d05efeee3bcda7a64a6befb8d
parent25848e5af3ecd77a1a16580aee671c5fb6da7fcb
Bug 18936: (follow-up) Add missing circulation rule to fix tests

The tests passed before by a chance because the default kohadevbox
installation script added a issuing rule that had lengthunit =
days. If you use a Koha version before the commits introduced by Bug
18936 you can reproduce the Fees.t tests failing by deleting all the
issuing rules from database with

> delete issuingrules;

and then running

$ prove t/db_dependent/Koha/Charges/Fees.t

Signed-off-by: Minna Kivinen <minna.kivinen@hamk.fi>
Signed-off-by: Joonas Kylmälä <joonas.kylmala@helsinki.fi>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
t/db_dependent/Koha/Charges/Fees.t