https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18789

--- Comment #40 from Jonathan Druart <jonathan.dru...@bugs.koha-community.org> 
---
Created attachment 71682
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=71682&action=edit
Bug 18789: add tests for is_adult and is_child

This patch add 2 methods to the Koha::Patron module: is_adult and
is_child.
That way the business logic is at only one place and covered by tests.

Signed-off-by: Kyle M Hall <k...@bywatersolutions.com>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to