[koha-commits] main Koha release repository branch new/bug_9486 created. v3.08.00-1639-g2189b88

Git repo owner gitmaster at git.koha-community.org
Thu Jan 24 20:42:29 CET 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, new/bug_9486 has been created
        at  2189b88bb1d2cfeb5cbe7cf3c08f61dc4e98a1c7 (commit)

- Log -----------------------------------------------------------------
commit 2189b88bb1d2cfeb5cbe7cf3c08f61dc4e98a1c7
Author: Jared Camins-Esakov <jcamins at cpbibliography.com>
Date:   Thu Jan 24 13:58:07 2013 -0500

    Bug 9486: t/Letters.t loads modules in wrong order
    
    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.
    
    To test:
    1) Before applying patch, run `prove t/Letters.t` a few times. Note that
       it fails most of the time, if not all the time.
    2) Apply patch.
    3) Repeat step (1), noting that now it passes every time.
    
    Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>
    Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
    Works as advertised.
    Signed-off-by: Jared Camins-Esakov <jcamins at cpbibliography.com>

-----------------------------------------------------------------------


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list