Bug 17638: Make sure t/db_dependent/Search.t doesn't use a cached koha-conf.xml
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 16 Nov 2016 14:40:21 +0000 (11:40 -0300)
committerKyle M Hall <kyle@bywatersolutions.com>
Wed, 16 Nov 2016 18:55:03 +0000 (18:55 +0000)
commitccd49a60dfa6ae73f1083398d9745710e38d2617
tree1153e2c52bfb4f66e73cdfef4248ed3fdce3fe02
parent1171b28145c5cf5ed6688721b901c851ac54f7f0
Bug 17638: Make sure t/db_dependent/Search.t doesn't use a cached koha-conf.xml

This patch makes the tests clean the 'config' namespace for cache before
it runs any tests.

To test:
- Run:
  $ prove t/db_dependent/Search.t
=> FAIL: Self explanatory
- Apply the patch
- Run:
  $ prove t/db_dependent/Search.t
=> SUCCESS: All green
- Sign off :-D

Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
All test pass successfuly

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Cannot reproduce, but I trust everyone telling me it's failing ; )
No regressions spotted
t/db_dependent/Search.t