[Koha-bugs] [Bug 16637] t/00-load.t warning from C4/Tags.pm

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 2 03:32:48 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16637

--- Comment #1 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 51958
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=51958&action=edit
Bug 16637: t/00-load.t warning from C4/Tags.pm

Added optional dependency, so as to explain why testing
explodes when the Enhanced Content system preference
TagsExternalDictionary is set (/usr/bin/ispell).

Since INIT runs after BEGIN, moved INIT logic into BEGIN in
order to remove INIT and thus eliminate the warning.

TEST PLAN
---------
1) prove t/00-load.t
   -- warning about INIT for C4::Tags
2) prove `git grep -l Tags | 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

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list