[koha-commits] main Koha release repository branch master updated. v3.22.00-1482-g68dbe84

Git repo owner gitmaster at git.koha-community.org
Fri Apr 29 19:57:42 CEST 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  68dbe8415f17801798fea26803b9bd9fd5e713bb (commit)
       via  a2aba3c86f106603212eb2c5beb52c3cdfe49857 (commit)
       via  73f55165bef229668a135bee7e8c90a2c9c3f0a7 (commit)
      from  7922ff036824e248dcd4641d0c796ab08a7b66cd (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 68dbe8415f17801798fea26803b9bd9fd5e713bb
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Sat Apr 23 07:30:35 2016 +0100

    Bug 14632: Add Copyright for the Koha Dev Team
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    https://bugs.koha-community.org/show_bug.cgi?id=14362
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit a2aba3c86f106603212eb2c5beb52c3cdfe49857
Author: Mark Tompsett <mtompset at hotmail.com>
Date:   Sun Jun 7 23:40:50 2015 -0400

    Bug 14362: Regression tests
    
    This should trigger the error. Attempts to shift system time
    zones did not make sense as to the number of failures.
    
    Added Time::Fake dependency, if it isn't installed these extra
    tests don't run. There is a nice skip message about it.
    
    Added License text.
    
    TEST PLAN
    ---------
     1) apply test patch
     2) sudo dpkg-reconfigure tzdata
        -- set your system time to GMT (Africa/Abidjan)
     3) prove t/Circulation/AgeRestrictionMarkers.t
        -- should not fail, even if you change system
           time to any time.
     4) sudo dpkg-reconfigure tzdata
        -- set your timezone to Eastern
     5) sudo date -s"2015-06-18 21:15:00"
     6) date
        -- should be past 9pm Eastern timezone
     7) prove t/Circulation/AgeRestrictionMarkers.t
        -- kaboom!
     8) sudo date -s"2015-06-18 12:00:00"
     9) date
        -- should be noon Eastern timezone
    10) prove t/Circulation/AgeRestrictionMarkers.t
        -- success?! Time sensitive tests are bad tests.
    11) sudo apt-get install libtime-fake-perl
    12) prove t/Circulation/AgeRestrictionMarkers.t
        -- kaboom!
        -- changing timezone to anything other than GMT
           should trigger a kaboom.
    13) apply fix patch
    14) prove t/Circulation/AgeRestrictionMarkers.t
        -- should work all the time.
    15) less t/Circulation/AgeRestrictionMarkers.t
        -- the license text should be similar to
           http://wiki.koha-community.org/wiki/Coding_Guidelines#Licence
    16) koha qa test tools.
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit 73f55165bef229668a135bee7e8c90a2c9c3f0a7
Author: Mark Tompsett <mtompset at hotmail.com>
Date:   Sun Jun 7 21:26:53 2015 -0400

    Bug 14362: PEGI15 Circulation/AgeRestrictionMarkers test fails
    
    It is best to test when UTC date is a date in the future compared
    to your timezone. I'm in Eastern, so right now, I expect this
    test to fail for another 2.5 hours.
    
    TEST PLAN
    ---------
    1) prove t/Circulation/AgeRestrictionMarkers.t
       -- fails for PEGI 15 after 9pm.
    2) Apply patch
    3) prove t/Circulation/AgeRestrictionMarkers.t
       -- works.
    4) koha qa test tools
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

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

Summary of changes:
 C4/Circulation.pm                     |    3 +-
 C4/Installer/PerlDependencies.pm      |    5 ++
 t/Circulation/AgeRestrictionMarkers.t |   82 ++++++++++++++++++++++++++-------
 3 files changed, 73 insertions(+), 17 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list