[Koha-bugs] [Bug 11541] Increasing test coverage for C4::Installer

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 14 21:06:17 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11541

--- Comment #8 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 24299
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=24299&action=edit
Bug 11541 [Followup] - Increasing test coverage for C4::Installer

Tests succeed, but cause many warnings:

prove t/Installer.t
t/Installer.t .. 1/9 "my" variable $self masks earlier declaration in
same scope at t/Installer.t line 19.
"my" variable $self masks earlier declaration in same scope at
t/Installer.t line 20.
"my" variable $self masks earlier declaration in same scope at
t/Installer.t line 21.
"my" variable $self masks earlier declaration in same scope at
t/Installer.t line 22.
"my" variable $self masks earlier declaration in same scope at
t/Installer.t line 23.
Odd number of elements in anonymous hash at t/Installer.t line 17.
Use of uninitialized value within @ARGV in anonymous hash ({}) at
t/Installer.t line 17.

The patch remedies that.

Test Plan:
1) Apply first patch on this bug
2) Run "prove t/Installer.t"
3) Note the warnings
4) Apply this patch
5) Repeat step 2
6) Note the warnings are gone

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


More information about the Koha-bugs mailing list