Bug 16636: t/00-load.t warning from C4/External/BakerTaylor.pm
authorMark Tompsett <mtompset@hotmail.com>
Thu, 2 Jun 2016 00:43:30 +0000 (20:43 -0400)
committerFrédéric Demians <f.demians@tamil.fr>
Wed, 15 Jun 2016 07:07:59 +0000 (09:07 +0200)
commit9c7c4f02ddad4045fde7ecf68c03389bb6f10436
tree03b0ca82500eca56498a790fa82d29dd0343e5d3
parent94d77bd9c2955f5bafa868f3e2aa375112383194
Bug 16636: t/00-load.t warning from C4/External/BakerTaylor.pm

Since the tests are expecting an initialize function, the
initialize call was just moved outside of the INIT block.

TEST PLAN
---------
1) prove t/00-load.t
   -- warnings about INIT for BakerTaylor
2) prove `git grep -l BakerTaylor | grep [.]t$`
   -- should all run okay
3) apply patch
4) repeat steps 1 and 2
   -- warning should be gone, and everything else run okay
5) run koha qa test tools

Signed-off-by: Srdjan <srdjan@catalyst.net.nz>
Signed-off-by: Florent Mara <florent.mara@gmail.com>
NOTE: Tweaked test plan based on comment #4,
      Added sign off based on comment #6.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit b4479624de2010fff8851732e94d086b2cca6921)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
C4/External/BakerTaylor.pm