[Koha-bugs] [Bug 17557] Move GetAge to Koha::Patron->get_age (and remove SetAge)
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Nov 4 18:20:56 CET 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17557
Josef Moravec <josef.moravec at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #57218|0 |1
is obsolete| |
Attachment #57219|0 |1
is obsolete| |
--- Comment #3 from Josef Moravec <josef.moravec at gmail.com> ---
Created attachment 57220
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=57220&action=edit
[SIGNED-OFF] 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.
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list