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

            Bug ID: 16635
           Summary: t/00-load.t warning from C4/Barcodes/hbyymmincr.pm
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: trivial
          Priority: P5 - low
         Component: Test Suite
          Assignee: ch...@bigballofwax.co.nz
          Reporter: mtomp...@hotmail.com
        QA Contact: gmcha...@gmail.com

According to http://perldoc.perl.org/vars.html, "our" should be a reasonable
substitute for the "use vars". By declaring as "our", and removing the INIT,
prove t/00-load will no longer generate a warning about INIT for the
C4/Barcodes/hbyymmincr.pm module.

TEST PLAN
---------
1) prove t/00-load.t
   -- warnings about INIT for hbyymmincr
2) prove `git grep -l hbyymmincr | 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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to