]> git.koha-community.org Git - koha.git/commit
Bug 27259: Test HomeOrHoldingBranch usage in _CalculateAndUpdateFine()
authorJoonas Kylmälä <joonas.kylmala@helsinki.fi>
Fri, 18 Dec 2020 15:47:40 +0000 (17:47 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 4 Nov 2022 22:04:18 +0000 (19:04 -0300)
commit41bda7c45f0111ec4bdd0cd6dae0258f88e3c8b5
treed1148f53c2dc3a1a6885a1d15108cbce16fce578
parent15433772d010172cda2517e1c5233eeb381200aa
Bug 27259: Test HomeOrHoldingBranch usage in _CalculateAndUpdateFine()

This shows that HomeOrHoldingBranch syspref is incorrectly not used by
_CalculateAndUpdateFine() when it decides which circ rule to use.

Run "prove t/db_dependent/Circulation/_CalculateAndUpdateFine.t" to
notice the tests now fail.

Signed-off-by: Petro Vashchuk <stalkernoid@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
t/db_dependent/Circulation/_CalculateAndUpdateFine.t [new file with mode: 0755]