[Koha-bugs] [Bug 16635] New: t/00-load.t warning from C4/Barcodes/hbyymmincr.pm
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jun 2 02:40:58 CEST 2016
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: chris at bigballofwax.co.nz
Reporter: mtompset at hotmail.com
QA Contact: gmcharlt at 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.
More information about the Koha-bugs
mailing list