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

--- Comment #1 from Jonathan Druart <[email protected]> 
---
Created attachment 108590
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=108590&action=edit
Bug 26250: Fix tests when SearchEngine=Elastic

Most of the time the tests are failing because the item is not created
correctly (missing biblio and/or biblioitem).
The usual error is:
 t/db_dependent/selenium/regressions.t ..... 5/5 Can't call method "leader" on
an undefined value at /kohadevbox/koha/Koha/SearchEngine/Elasticsearch.pm line
534.

In this patch we are making sure $builder->build({ source => 'Item' })
is replace with $builder->build_sample_item

Test plan:
Turn on Elastic and confirm that all the tests pass!

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