Bug 22350 - SIP/Transaction.t fails when SearchEngine set to ElasticSearch
Summary: SIP/Transaction.t fails when SearchEngine set to ElasticSearch
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Searching - Elasticsearch (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-15 14:55 UTC by Nick Clemens (kidclamp)
Modified: 2019-02-15 14:55 UTC (History)
2 users (show)

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Clemens (kidclamp) 2019-02-15 14:55:01 UTC
Not sure if this points to bigger issues, but recording to investigate

root@8a93f9b965df:koha(master)$ prove -v t/db_dependent/SIP/Transaction.t
t/db_dependent/SIP/Transaction.t .. 
1..4
ok 1 - New transaction created
ok 2 - Patron assigned to transaction
ok 3 - RenewAll on zero items
# Subtest: fill_holds_at_checkout
    1..5
    ok 1 - Bib has 2 holds
    ok 2 - New transaction created
    ok 3 - Patron assigned to transaction
    ok 4 - Item assigned to transaction
    # Looks like you planned 5 tests but ran 4.
not ok 4 - fill_holds_at_checkout

#   Failed test 'fill_holds_at_checkout'
#   at t/db_dependent/SIP/Transaction.t line 93.
Can't call method "leader" on an undefined value at /kohadevbox/koha/Koha/SearchEngine/Elasticsearch.pm line 419.
# Looks like your test exited with 11 just after 4.