[Koha-bugs] [Bug 9486] New: t/Letters.t loads modules in wrong order

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 24 19:49:47 CET 2013


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

            Bug ID: 9486
           Summary: t/Letters.t loads modules in wrong order
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: blocker
          Priority: P5 - low
         Component: Test Suite
          Assignee: jcamins at cpbibliography.com
          Reporter: jcamins at cpbibliography.com

Because the unit test t/Letters.t loads C4::Letters before C4::Context, and
C4::Letters is not even vaguely thread-safe, the test tends to fail. Usually.
Moving the dbh mocking to before the use_ok('C4::Letters') test fixes the
problem.

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


More information about the Koha-bugs mailing list