[Koha-bugs] [Bug 33089] New: Koha/Plugins/authority_hooks.t is failing if SearchEngine=elastic

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Feb 28 16:55:31 CET 2023


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

            Bug ID: 33089
           Summary: Koha/Plugins/authority_hooks.t is failing if
                    SearchEngine=elastic
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Test Suite
          Assignee: chris at bigballofwax.co.nz
          Reporter: jonathan.druart+koha at gmail.com
        QA Contact: testopia at bugs.koha-community.org

t/db_dependent/Koha/Plugins/authority_hooks.t .. 1/4 
    #   Failed test 'AddAuthority calls the hook with action=create, id passed'
    #   at t/db_dependent/Koha/Plugins/authority_hooks.t line 57.
    # found warning: Cannot determine authority type for record: 1708 at
/kohadevbox/koha/Koha/SearchEngine/Elasticsearch.pm line 567.
    # found warning: Plugin error (Test Plugin): Exception 'Koha::Exception'
thrown 'after_authority_action called with action: create, id: 1708'
    # expected to find warning: (?^u:after_authority_action called with action:
create, id: \d+)

    #   Failed test 'ModAuthority calls the hook with action=modify, id passed'
    #   at t/db_dependent/Koha/Plugins/authority_hooks.t line 61.
    # found warning: Cannot determine authority type for record: 1708 at
/kohadevbox/koha/Koha/SearchEngine/Elasticsearch.pm line 567.
    # found warning: Plugin error (Test Plugin): Exception 'Koha::Exception'
thrown 'after_authority_action called with action: modify, id: 1708'
    # expected to find warning: (?^u:after_authority_action called with action:
modify, id: 1708)
    # Looks like you failed 2 tests of 3.
t/db_dependent/Koha/Plugins/authority_hooks.t .. 4/4 
#   Failed test 'after_authority_action hook'
#   at t/db_dependent/Koha/Plugins/authority_hooks.t line 70.
# Looks like you failed 1 test of 4.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list