[Koha-bugs] [Bug 26186] New: Remove "subroutine redefined" warnings from tests

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Aug 10 10:32:18 CEST 2020


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

            Bug ID: 26186
           Summary: Remove "subroutine redefined" warnings from tests
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Test Suite
          Assignee: chris at bigballofwax.co.nz
          Reporter: jonathan.druart at bugs.koha-community.org
        QA Contact: testopia at bugs.koha-community.org

kohadev-koha at kohadevbox:/kohadevbox/koha$ prove
t/db_dependent/cronjobs/advance_notices_digest.t
t/db_dependent/cronjobs/advance_notices_digest.t .. No circulation PREDUEDGST
letter transported by phone at /kohadevbox/koha/C4/Letters.pm line 605.
Use of uninitialized value in concatenation (.) or string at (eval 1565) line
587.
no letter of type '' found for borrowernumber 58. Please see sample_notices.sql
at (eval 1565) line 587.
t/db_dependent/cronjobs/advance_notices_digest.t .. 1/2 Subroutine parse_letter
redefined at (eval 1572) line 444.
Subroutine get_branch_info redefined at (eval 1572) line 481.
Subroutine send_digests redefined at (eval 1572) line 532.
No circulation PREDUEDGST letter transported by phone at
/kohadevbox/koha/C4/Letters.pm line 605.
Use of uninitialized value in concatenation (.) or string at (eval 1572) line
587.
no letter of type '' found for borrowernumber 59. Please see sample_notices.sql
at (eval 1572) line 587.
No circulation PREDUEDGST letter transported by phone at
/kohadevbox/koha/C4/Letters.pm line 605.
Use of uninitialized value in concatenation (.) or string at (eval 1572) line
587.
no letter of type '' found for borrowernumber 59. Please see sample_notices.sql
at (eval 1572) line 587.
t/db_dependent/cronjobs/advance_notices_digest.t .. ok   
All tests successful.
Files=1, Tests=2,  5 wallclock secs ( 0.02 usr  0.01 sys +  3.34 cusr  1.38
csys =  4.75 CPU)
Result: PASS





kohadev-koha at kohadevbox:/kohadevbox/koha$ prove t/db_dependent/Auth_with_ldap.t 
t/db_dependent/Auth_with_ldap.t .. 1/4 Subroutine ldapserver_error redefined at
/kohadevbox/koha/C4/Auth_with_ldap.pm line 48.
Subroutine description redefined at /kohadevbox/koha/C4/Auth_with_ldap.pm line
80.              
Subroutine search_method redefined at /kohadevbox/koha/C4/Auth_with_ldap.pm
line 87.                                                                        
Subroutine checkpw_ldap redefined at /kohadevbox/koha/C4/Auth_with_ldap.pm line
111.
Subroutine ldap_entry_2_hash redefined at /kohadevbox/koha/C4/Auth_with_ldap.pm
line 261.               
Subroutine exists_local redefined at /kohadevbox/koha/C4/Auth_with_ldap.pm line
312.                                                                            
Subroutine _do_changepassword redefined at
/kohadevbox/koha/C4/Auth_with_ldap.pm line 338.
Subroutine update_local redefined at /kohadevbox/koha/C4/Auth_with_ldap.pm line
369.
Subroutine ldapserver_error redefined at /kohadevbox/koha/C4/Auth_with_ldap.pm
line 48.          
Subroutine description redefined at /kohadevbox/koha/C4/Auth_with_ldap.pm line
80.
Subroutine search_method redefined at /kohadevbox/koha/C4/Auth_with_ldap.pm
line 87.                    
Subroutine checkpw_ldap redefined at /kohadevbox/koha/C4/Auth_with_ldap.pm line
111.             
Subroutine ldap_entry_2_hash redefined at /kohadevbox/koha/C4/Auth_with_ldap.pm
line 261.
Subroutine exists_local redefined at /kohadevbox/koha/C4/Auth_with_ldap.pm line
312.                    
Subroutine _do_changepassword redefined at
/kohadevbox/koha/C4/Auth_with_ldap.pm line 338.
Subroutine update_local redefined at /kohadevbox/koha/C4/Auth_with_ldap.pm line
369.

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


More information about the Koha-bugs mailing list