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

--- Comment #43 from Pedro Amorim <[email protected]> ---
(In reply to Fridolin Somers from comment #42)
> > Work around subtracting datetime if date_of_birth undef 
> This change will impact unit test 't/db_dependent/Koha/Patrons.t' no ?

prove t/db_dependent/Koha/Patrons.t
t/db_dependent/Koha/Patrons.t .. ok     
All tests successful.
Files=1, Tests=43, 42 wallclock secs ( 0.06 usr  0.01 sys + 19.83 cusr 20.13
csys = 40.03 CPU)
Result: PASS

It doesn't seem to impact t/db_dependent/Koha/Patrons.t. I would expect it to
impact it only if that test suite is already considering this possibility
(undef $date_of_birth) which I don't believe it is, but I may be wrong.
If the above is true, a new regression test for this should probably be added
in t/db_dependent/Koha/Patrons.t

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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