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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 15 Jun 2017 12:34:19 +0000 (14:34 +0200)
commita44c0f82712a1e9492b0604711fdaebdcfd345b2
treec8f29fa2d12f3b18cc3704d9cc362823bd4284f1
parent8c782759ef2ff01a5e125c05f998a3a678346455
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)
t/db_dependent/Items/AutomaticItemModificationByAge.t