[koha-commits] main Koha release repository branch master updated. v16.11.00-71-g01226c6

Git repo owner gitmaster at git.koha-community.org
Fri Dec 16 13:05:05 CET 2016


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, master has been updated
       via  01226c61a1be588cb472e7ca7822c0e9d4ecf7b4 (commit)
       via  7808bd690b2e51c8a56d3a11f84fbe2b332beb24 (commit)
      from  b133b0e94d57546e70eeb3a3b20befd130c343e6 (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 01226c61a1be588cb472e7ca7822c0e9d4ecf7b4
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Fri Nov 4 16:21:03 2016 +0000

    Bug 17557: Koha::Patrons - Move GetAge to ->set_age (and remove SetAge)
    
    As said in the previous commit, I considered SetAge as unnecessary and
    removed it.
    
    Test plan:
    1/ Edit a patron using the different 'Edit' links
    2/ Play with the patron category limited to age ranges, and date of
    birth
    3/ You should get the expected warning if the date of birth is inside
    the patron category date range.
    
    To finish:
      prove t/Circulation/AgeRestrictionMarkers.t t/db_dependent/Reserves.t \
            t/db_dependent/Koha/Patrons.t t/db_dependent/Members.t
    should return green
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit 7808bd690b2e51c8a56d3a11f84fbe2b332beb24
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Fri Nov 4 16:18:00 2016 +0000

    Bug 17557: Revised patron age calculation tests
    
    The SetAge and GetAge test coverage are excessive.
    First the SetAge subroutine was only created for testing purpose.
    The goal of GetAge is quite simple and it seems quite easy to provide
    corect test coverage using DateTime->add using negative numbers.
    
    Edit: rebased so it applies
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

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

Summary of changes:
 C4/Members.pm                         |   72 -----------------------------
 Koha/Patron.pm                        |   24 ++++++++++
 members/memberentry.pl                |    3 +-
 members/moremember.pl                 |    4 +-
 t/Circulation/AgeRestrictionMarkers.t |    6 +--
 t/db_dependent/Koha/Patrons.t         |   23 ++++++++-
 t/db_dependent/Members.t              |   82 +--------------------------------
 t/db_dependent/Reserves.t             |    5 +-
 8 files changed, 54 insertions(+), 165 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list