]> git.koha-community.org Git - koha.git/commit
Bug 18045: Fix Reserves.t tests - caching issues
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 2 Feb 2017 00:09:38 +0000 (01:09 +0100)
committerKatrin Fischer <katrin.fischer.83@web.de>
Sun, 19 Feb 2017 20:06:14 +0000 (21:06 +0100)
commitd4bf99e488740201832743bf9e8f5b0e4915902c
tree62b97de8dfe7d47af67431d2639d646cdcb9404b
parent34eff6378614572735d768824695b104564ce76f
Bug 18045: Fix Reserves.t tests - caching issues

If the cache has to be cleaned when marc structure is updated.

Before this patch, if the age restriction was not mapped, Reserves.t
failed with:
  Tag "" is not a valid tag. at t/db_dependent/Reserves.t line 523.

Test plan:
Just confirm that the tests still pass and that the changes make sense.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
It seems that only removing the key MarcSubfieldStructure- should be
enough, but it does not hurt either to remove those four keys.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 116301ae473075a6e183beb0027bd3657816b5e6)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
t/db_dependent/Reserves.t