]> git.koha-community.org Git - koha.git/commit
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)
committerMason James <mtj@kohaaloha.com>
Mon, 12 Dec 2016 01:54:13 +0000 (14:54 +1300)
commit36ead4dee52b2ef7b887d4c88feefa7207251a89
tree946ad4ee42814724949cc4acbf1f6d54b39259e4
parent8de7d30fc153407b2c6d14183a6b76253b08eaf9
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
Signed-off-by: Mason James <mtj@kohaaloha.com>
t/db_dependent/Search.t