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

--- Comment #9 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 201909
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=201909&action=edit
Bug 39215: Unit tests for search engine error tagging in EDIFACT biblio
failures

Adds biblio_creation_failure_search_engine_tagging to
t/db_dependent/Koha/EDI.t, covering _looks_like_search_engine_error():

- a mocked AddBiblio warning matching a known search engine exception
  signature (Search::Elasticsearch) is tagged with [SEARCH ENGINE ERROR]
  in the EDIFACT error detail.

- a mocked AddBiblio warning that does not match any such signature is
  left untagged, confirming ordinary data/FK failures are not
  misreported as search engine problems.

Test plan:
1) prove t/db_dependent/Koha/EDI.t

-- 
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/

Reply via email to