https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17579
Jonathan Druart <jonathan.dru...@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #57386|0 |1 is obsolete| | --- Comment #6 from Jonathan Druart <jonathan.dru...@bugs.koha-community.org> --- Created attachment 57412 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=57412&action=edit 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. -- 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/