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

--- Comment #1 from Tomás Cohen Arazi (tcohen) <[email protected]> ---
Created attachment 199492
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=199492&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)

-- 
You are receiving this mail because:
You are the assignee for the bug.
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