https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42217
--- Comment #17 from Matt Blenkinsop <[email protected]> --- Created attachment 210274 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=210274&action=edit Bug 42217: Update unit tests UsageObject.t covers monthly_usages: add, skip, update in place, a new identity, duplicates removed with the oldest row kept, zero months not stored and removed when they exist, several months in one call, and the rollback of the whole call when one store fails. The harvester tests check a third harvest over stale, duplicated and zero-month data, through both the SUSHI and the file upload paths. The CounterFile tests check that storing the same file twice adds no rows. Test plan: prove -l t/db_dependent/Koha/ERM/EUsage/UsageObject.t \ t/db_dependent/Koha/BackgroundJobs/ErmSushiHarvester.t \ t/db_dependent/Koha/ERM/EUsage/COUNTER_5/CounterFile.t \ t/db_dependent/Koha/ERM/EUsage/COUNTER_5.1/CounterFile.t yarn cypress run --spec t/cypress/integration/ERM/ModuleDashboard_spec.ts Assisted-by: Sonnet 5 (Anthropic) Signed-off-by: Clemens Tubach <[email protected]> Signed-off-by: Nick Clemens <[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/
