https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17656 --- Comment #324 from Philip Orr <philip.orr@lmscloud.de> --- Created attachment 196153 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196153&action=edit Bug 17656: (QA follow-up) expand test coverage for irregularities The original test only covered a single daily subscription renewal scenario with a hard-coded expected value. Add coverage for: - irregularities() and permanent_irregularities() accessors with NULL and empty-string column values (regression test for the undef-split fix in this series) - guess_irregularities() returning an empty list when enddate is not set (regression test for the missing enddate guard) - Weekly subscription renewal: permanent_irregularity stores week-of- year values; verify the correct issue numbers are identified after renewal (weeks 5 and 6 of the year map to issues 5 and 6) - Monthly subscription renewal: permanent_irregularity stores month numbers; verify September (month 9) and October (month 10) map to the correct issue numbers in the renewed period The existing daily test is preserved and wrapped in a subtest with a descriptive label. Signed-off-by: Philip Orr <philip.orr@lmscloud.de> -- You are receiving this mail because: You are watching all bug changes.