[Koha-bugs] [Bug 16622] New: some tests triggered by prove t fail for unset KOHA_CONF

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 31 16:33:16 CEST 2016


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

            Bug ID: 16622
           Summary: some tests triggered by prove t fail for unset
                    KOHA_CONF
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Test Suite
          Assignee: chris at bigballofwax.co.nz
          Reporter: mtompset at hotmail.com
        QA Contact: gmcharlt at gmail.com

unset'ing KOHA_CONF from your environment, and then triggering 'prove t'
results in several tests warning and complaining about C4::Context.

Make sure failing tests are in the correct location (t vs t/db_dependent),
properly mocked, or catch the warnings. The second option being the preferred
one.

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


More information about the Koha-bugs mailing list