[Koha-bugs] [Bug 25044] No need to define koha_object[s]_class for standard object class names

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 14 11:36:07 CEST 2020


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

--- Comment #9 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Tomas, one test is failing:

t/Koha/REST/Plugin/Query.t .. 1/6
    #   Failed test 'exact match for JSON Pointer "/prefetch/0"'
    #   at t/Koha/REST/Plugin/Query.t line 350.
    #     Structures begin differing at:
    #          $got = HASH(0x55daaa8747c8)
    #     $expected = 'biblio'
    # Looks like you failed 1 test of 10.

I do not understand what was supposed to do the code prior to this change.

Koha::Schema::Result::Biblio does not have a koha_object_class, so the try was
failing, and undef was assigned.

I am suspecting the tests to be wrong, but it would be good if you or Agustin
could confirm it.

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


More information about the Koha-bugs mailing list