[Koha-bugs] [Bug 21134] New: Wrong error handling in Koha/Patron/Modification.pm hides a bug

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 31 17:43:24 CEST 2018


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

            Bug ID: 21134
           Summary: Wrong error handling in Koha/Patron/Modification.pm
                    hides a bug
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Test Suite
          Assignee: jonathan.druart at bugs.koha-community.org
          Reporter: jonathan.druart at bugs.koha-community.org
        QA Contact: testopia at bugs.koha-community.org

koha_1       |     # Looks like you planned 20 tests but ran 9.
koha_1       | 
koha_1       | #   Failed test 'approve tests'
koha_1       | #   at t/db_dependent/Koha/Patron/Modifications.t line 259.
koha_1       | [Something went wrong]# Looks like your test exited with 255
just after 5.
koha_1       | [21:13:47] t/db_dependent/Koha/Patron/Modifications.t
..................... 

"Something went wrong" should never been thrown,
Koha::Patron::Modification->approve raises $@, but it's not defined, it should
raise $_ instead

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


More information about the Koha-bugs mailing list