https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42625 --- Comment #162 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- Created attachment 208389 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208389&action=edit Bug 42625: (QA follow-up) Update MARCImportCommitBatch.t for num_locked BatchCommitRecords now returns a seventh value, the number of records skipped because they are locked. The mocked return values in MARCImportCommitBatch.t only supplied six, so $num_locked was undef and the job raised 'uninitialized value' warnings, failing Test::NoWarnings. This patch adds the seventh value to the existing mocks and adds a case covering a batch where some records are skipped as locked. Test plan: 1. prove t/db_dependent/Koha/BackgroundJob/MARCImportCommitBatch.t 2. All tests pass, with no warnings Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.