https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42587
--- Comment #4 from David Nind <[email protected]> --- Created attachment 205265 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=205265&action=edit Bug 42587: Unit tests for Koha::Patron->overdues Adds tests covering the existing overdues() method behavior: - Returns a Koha::Checkouts resultset - Returns empty when no checkouts exist - Does not include checkouts with future due dates - Includes checkouts with past due dates - Correctly counts multiple overdues - Only returns overdues, not all checkouts Test plan: 1. Apply patch 2. Run: $ prove t/db_dependent/Koha/Patron.t => SUCCESS: Tests pass 3. Sign off :-D Assisted-by: Sonnet 4.6 (Anthropic) Signed-off-by: David Nind <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected] website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
