]> git.koha-community.org Git - koha.git/commit
Bug 16636: [QA Follow-up] Make BakerTaylor plack safe
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 10 Jun 2016 07:30:51 +0000 (09:30 +0200)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 10 Jun 2016 18:00:22 +0000 (18:00 +0000)
commit5361440f6538127c8c3ec61d963d5f0692c64a71
tree450c8ad952cbe9f90fa6546b1164a900eaf2c75d
parentb4479624de2010fff8851732e94d086b2cca6921
Bug 16636: [QA Follow-up] Make BakerTaylor plack safe

Initialize file level lexicals each call. Do not call _initialize
outside the module.
Adjust test by mocking preferences.

Test plan:
Run t/db_dependent/External_BakerTaylor.t.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tested module with trivial script under Plack/memcached by toggling
the associated preferences.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/External/BakerTaylor.pm
t/db_dependent/External_BakerTaylor.t