https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39215 --- Comment #3 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 201231 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=201231&action=edit Bug 39215: Unit tests for skipping unprocessable EDIFACT quote lines Adds coverage to t/db_dependent/Koha/EDI.t: - unprocessable_line_handling: a quote whose first line references a non-existent branchcode (LLO+ZZ). Processing completes without dying, the bad line is reported with the offending field, the message status becomes 'error' (not 'processing'), the second valid line is still imported, and auto-ordering is blocked for the affected basket. - biblio_creation_failure_reporting: mocks AddBiblio to fail the way it does in production (warns and returns undef) and confirms the warning is captured into the EDIFACT error report, the line is skipped and no order is created against a missing biblio. Test plan: 1) prove t/db_dependent/Koha/EDI.t 2) Confirm all subtests pass, including the two new ones. -- You are receiving this mail because: You are watching all bug changes.