[Koha-bugs] [Bug 23998] Messages REST API

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 2 02:50:55 CEST 2020


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

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Failed QA
                 CC|                            |david at davidnind.com

--- Comment #4 from David Nind <david at davidnind.com> ---
Sorry, tests fail 8-(:

root at a9bc3171985d:koha(bz23998)$ prove t/db_dependent/api/v1/messages.t
t/db_dependent/api/v1/messages.t .. 2/5 
    #   Failed test 'SWAGGER3.2.1'
    #   at t/db_dependent/api/v1/messages.t line 227.
    #          got: '500'
    #     expected: '201'

    #   Failed test 'exact match for JSON Pointer "/patron_id"'
    #   at t/db_dependent/api/v1/messages.t line 227.
    #          got: undef
    #     expected: '95'

    #   Failed test 'exact match for JSON Pointer "/library_id"'
    #   at t/db_dependent/api/v1/messages.t line 227.
    #          got: undef
    #     expected: 'kayx1Yh5'

    #   Failed test 'exact match for JSON Pointer "/message_type"'
    #   at t/db_dependent/api/v1/messages.t line 227.
    #          got: undef
    #     expected: 'B'

    #   Failed test 'exact match for JSON Pointer "/message"'
    #   at t/db_dependent/api/v1/messages.t line 227.
    #          got: undef
    #     expected: 'Old Fox jumped over Cheeseboy'

    #   Failed test 'exact match for JSON Pointer "/manager_id"'
    #   at t/db_dependent/api/v1/messages.t line 227.
    #          got: undef
    #     expected: '94'

    #   Failed test 'SWAGGER3.2.1'
    #   at t/db_dependent/api/v1/messages.t line 243.
    #          got: '500'
    #     expected: '201'

    #   Failed test 'exact match for JSON Pointer "/patron_id"'
    #   at t/db_dependent/api/v1/messages.t line 243.
    #          got: undef
    #     expected: '95'

    #   Failed test 'exact match for JSON Pointer "/library_id"'
    #   at t/db_dependent/api/v1/messages.t line 243.
    #          got: undef
    #     expected: 'kayx1Yh5'

    #   Failed test 'exact match for JSON Pointer "/message_type"'
    #   at t/db_dependent/api/v1/messages.t line 243.
    #          got: undef
    #     expected: 'B'

    #   Failed test 'exact match for JSON Pointer "/message"'
    #   at t/db_dependent/api/v1/messages.t line 243.
    #          got: undef
    #     expected: 'Old Fox jumped over Cheeseboy'

    #   Failed test 'exact match for JSON Pointer "/manager_id"'
    #   at t/db_dependent/api/v1/messages.t line 243.
    #          got: undef
    #     expected: '95'

    #   Failed test 'exact match for JSON Pointer "/errors"'
    #   at t/db_dependent/api/v1/messages.t line 253.
    #     Structures begin differing at:
    #          $got->[1] = HASH(0x557190092810)
    #     $expected->[1] = Does not exist
    # Looks like you failed 13 tests of 27.

#   Failed test 'add() tests'
#   at t/db_dependent/api/v1/messages.t line 265.
t/db_dependent/api/v1/messages.t .. 5/5 # Looks like you failed 1 test of 5.
t/db_dependent/api/v1/messages.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/5 subtests 

Test Summary Report
-------------------
t/db_dependent/api/v1/messages.t (Wstat: 256 Tests: 5 Failed: 1)
  Failed test:  3
  Non-zero exit status: 1
Files=1, Tests=5, 11 wallclock secs ( 0.02 usr  0.02 sys + 10.38 cusr  1.24
csys = 11.66 CPU)
Result: FAIL

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


More information about the Koha-bugs mailing list