https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17656
--- Comment #332 from Arthur Suzuki <[email protected]> --- Created attachment 207951 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=207951&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 <[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/
