[koha-commits] main Koha release repository branch master updated. v16.05.00-1368-g3628035
Git repo owner
gitmaster at git.koha-community.org
Tue Nov 15 16:38:50 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 36280356c1d4488fe42609357daea36e7dc023a1 (commit)
via ea3704203e88382024837c5caa2c264a153a3cf0 (commit)
via d892342e6f8569a4ea51a0e550b5d9c59b92e588 (commit)
from 81ea88fff6bfffd958cc0a85871e1487b05a445a (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 36280356c1d4488fe42609357daea36e7dc023a1
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date: Tue Nov 15 15:27:13 2016 +0000
Bug 17579 [QA Followup] - Fix the number of tests
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
commit ea3704203e88382024837c5caa2c264a153a3cf0
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Wed Nov 9 13:23:54 2016 +0000
Bug 17579: Make sure we are testing the real life
Without this patch, the tests are not testing the same things as what
happens on the interface.
We need to refresh the object to make sure the date set into dateexpiry
is the one in DB.
Without this patch, ->is_expired test a datetime object, with this patch
it compares with a date oject
Without the changes made in Koha::Patron->is_expired, a patron which has
a dateexpiry set to today was marked as expired on the interface. This
is a change in the behavior, what this refactoring does not want to do.
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
commit d892342e6f8569a4ea51a0e550b5d9c59b92e588
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Mon Nov 7 17:12:58 2016 +0000
Bug 17579: Add the Koha::Patron->is_expired
This new method will be handy for further uses
Test plan:
prove t/db_dependent/Koha/Patrons.t
should return green
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
-----------------------------------------------------------------------
Summary of changes:
Koha/Patron.pm | 16 ++++++++++++++++
t/db_dependent/Koha/Patrons.t | 20 +++++++++++++++++++-
2 files changed, 35 insertions(+), 1 deletion(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list