[koha-commits] main Koha release repository branch 17.05.x updated. v17.05.04-3-g300a76a

Git repo owner gitmaster at git.koha-community.org
Fri Sep 29 10:58:08 CEST 2017


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, 17.05.x has been updated
       via  300a76a573673b74ad0863c3b93c6ea3a66eb1ea (commit)
      from  1f19154532f438319aa789d8b7cdabb14f53275a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 300a76a573673b74ad0863c3b93c6ea3a66eb1ea
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Wed Jun 14 11:32:30 2017 -0300

    Bug 18802: Fix Circulation.t if finesMode ne 'production'
    
    If finesMode is not set to production, only 1 fine will be created (the renewal
    one will not). This is what assumes the tests.
    If set to 'production', the tests will fail because the fines will not
    be deleted (because of the DBIx::Class) warning.
    Now we mock the value before charging.
    
    prove t/db_dependent/Circulation.t
    t/db_dependent/Circulation.t .. 16/95 DBIx::Class::Storage::DBI::select_single(): Query returned more than one row.  SQL that returns multiple rows is DEPRECATED for ->find and ->single at t/db_dependent/Circulation.t line 491
    t/db_dependent/Circulation.t .. 56/95
        #   Failed test 'Can auto renew, OPACFineNoRenewals=10, patron has 10'
        #   at t/db_dependent/Circulation.t line 670.
        #          got: 'auto_too_much_oweing'
        #     expected: 'auto_renew'
        # Looks like you failed 1 test of 6.
    
    Test plan:
      prove t/db_dependent/Circulation.t
    should return green whatever the value of finesMode
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    (cherry picked from commit ae5f5c479929cbfad3193c6ce9471a406a2a41f3)

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

Summary of changes:
 t/db_dependent/Circulation.t |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list