[Koha-bugs] [Bug 16637] New: 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:29:53 CEST 2016


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

            Bug ID: 16637
           Summary: t/00-load.t warning from C4/Tags.pm
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: trivial
          Priority: P5 - low
         Component: Test Suite
          Assignee: mtompset at hotmail.com
          Reporter: mtompset at hotmail.com
        QA Contact: gmcharlt at gmail.com

Added optional dependency, so as to explain why testing
explodes when the Enhanced Content system preference
TagsExternalDictionary is set.

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