Bug 18761: Fix tests for AutomaticItemModificationByAge.t - clear cache
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 8 Jun 2017 17:17:53 +0000 (14:17 -0300)
committerKatrin Fischer <katrin.fischer.83@web.de>
Thu, 15 Jun 2017 20:22:42 +0000 (22:22 +0200)
commit9e83bceff633fc7a6749391abc765e7f1b11f955
tree2890b95718822c898a43b47917237018abccb7a6
parent9eace51161fb8af946468d293befee9c5847c872
Bug 18761: Fix tests for AutomaticItemModificationByAge.t - clear cache

The mapping structure is cached and may be wrong if already populated.
We need to clear the cache when a framework is modified

Signed-off-by: Lee Jamison <ldjamison@marywood.edu>
Works as described in test plan and passes QA tools.

(cherry picked from commit c3a115916146e7c1e98c58c0b0a429e9841af461)
(cherry picked from commit a44c0f82712a1e9492b0604711fdaebdcfd345b2)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
t/db_dependent/Items/AutomaticItemModificationByAge.t