https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35104

--- Comment #121 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 194226
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194226&action=edit
Bug 35104: Update and extend tests to reflect graceful non-XML stripping

* t/db_dependent/Koha/Biblio/Metadata.t: replace tests that expected an
  exception on bad MARCXML with tests that verify graceful stripping
  behaviour, per-field error recording, context snippet format, the
  stripped_on_last_store flag, and preservation of existing error rows on
  a clean re-save.

* t/db_dependent/Biblio.t: remove tests that relied on the exception path
  and update assertions to match the graceful-stripping model.

* t/db_dependent/Exporter/Record.t: bypass store() validation for a test
  record that intentionally contains bad data so the export-path tests
  remain independent of the stripping logic.

Sponsored-by: OpenFifth

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to