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

Git repo owner gitmaster at git.koha-community.org
Fri Sep 29 11:07:55 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  d3e6a1a5fd9246811ef0036c6234c7a2cf11f7b3 (commit)
       via  af0cdbaa24033ff2494a3afc721fb0cf6711020c (commit)
       via  cdfa1b0db7f98be3da503861075fecafeff9e600 (commit)
       via  1416b65e0949deca4a83b41c9ef1df1be5eb433e (commit)
      from  0b445446018ad23a793f8d75c3be417d85e6c3f6 (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 d3e6a1a5fd9246811ef0036c6234c7a2cf11f7b3
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Tue Aug 1 11:44:29 2017 -0300

    Bug 17699: Reset time simulation
    
    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 0853c4e2b4366a235077a24a873fc81a754afecb)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

commit af0cdbaa24033ff2494a3afc721fb0cf6711020c
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Mon Jul 31 11:30:00 2017 -0300

    Bug 17699: Add test descriptions
    
    Test plan:
      prove -v t/db_dependent/Koha/Patrons.t
    
     Subtest: renew_account
        1..30
        ok 1 - 2016-02-29T00:00:00 + 12 months must be 2017-02-28T00:00:00
        ok 2 - 2016-02-29T00:00:00 + 12 months must be 2017-02-28T00:00:00
        ok 3 - With BorrowerLogs, Koha::Patron->renew_account should have logged
        ok 4 - today + 12 months must be 2017-03-31T00:00:00
        ok 5 - today + 12 months must be 2017-03-31T00:00:00
        ok 6 - Without BorrowerLogs, Koha::Patron->renew_account should not have logged
        ok 7 - today + 12 months must be 2017-03-31T00:00:00
        ok 8 - today + 12 months must be 2017-03-31T00:00:00
        ok 9 - 2016-04-30T00:00:00 + 12 months must be 2017-04-30T00:00:00
        ok 10 - 2016-04-30T00:00:00 + 12 months must be 2017-04-30T00:00:00
        ok 11 - 2016-10-30T00:00:00 + 12 months must be 2017-10-30T00:00:00
        ok 12 - 2016-10-30T00:00:00 + 12 months must be 2017-10-30T00:00:00
        ok 13 - With BorrowerLogs, Koha::Patron->renew_account should have logged
        ok 14 - today + 12 months must be 2017-11-30T00:00:00
        ok 15 - today + 12 months must be 2017-11-30T00:00:00
        ok 16 - Without BorrowerLogs, Koha::Patron->renew_account should not have logged
        ok 17 - today + 12 months must be 2017-11-30T00:00:00
        ok 18 - today + 12 months must be 2017-11-30T00:00:00
        ok 19 - 2016-12-30T00:00:00 + 12 months must be 2017-12-30T00:00:00
        ok 20 - 2016-12-30T00:00:00 + 12 months must be 2017-12-30T00:00:00
        ok 21 - 2017-06-30T00:00:00 + 12 months must be 2018-06-30T00:00:00
        ok 22 - 2017-06-30T00:00:00 + 12 months must be 2018-06-30T00:00:00
        ok 23 - With BorrowerLogs, Koha::Patron->renew_account should have logged
        ok 24 - today + 12 months must be 2018-07-31T00:00:00
        ok 25 - today + 12 months must be 2018-07-31T00:00:00
        ok 26 - Without BorrowerLogs, Koha::Patron->renew_account should not have logged
        ok 27 - today + 12 months must be 2018-07-31T00:00:00
        ok 28 - today + 12 months must be 2018-07-31T00:00:00
        ok 29 - 2017-08-31T00:00:00 + 12 months must be 2018-08-31T00:00:00
        ok 30 - 2017-08-31T00:00:00 + 12 months must be 2018-08-31T00:00:00
    
    Signed-off-by: Owen Leonard <oleonard at myacpl.org>
    
    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 ec9b691de934f82c50057c15fb7d3a1b32717b72)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

commit cdfa1b0db7f98be3da503861075fecafeff9e600
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Mon Jul 31 11:03:37 2017 -0300

    Bug 17699: Use limit as end_of_month
    
    From DateTime::Duration pod:
    ""
    For positive durations, the "end_of_month" parameter defaults to wrap.
    For negative durations, the default is "limit". This should match how
    most people "intuitively" expect datetime math to work.
    """"
    
    We need end_of_month => limit for  positive durations as well.
    
    Signed-off-by: Owen Leonard <oleonard at myacpl.org>
    
    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 24b4006ecbc0a258b09500bdd8f639c7018067c0)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

commit 1416b65e0949deca4a83b41c9ef1df1be5eb433e
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Mon Jul 31 11:02:42 2017 -0300

    Bug 17699: Add more tests to highlight the problem
    
    Add problematic cases to highlight the problem.
    
    Signed-off-by: Owen Leonard <oleonard at myacpl.org>
    
    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 9512b015662f8ec56d8b8884b4e4bb14d5e563f1)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

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

Summary of changes:
 Koha/Patron/Category.pm       |    2 +-
 t/db_dependent/Koha/Patrons.t |  149 +++++++++++++++++++++--------------------
 2 files changed, 79 insertions(+), 72 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list