[Koha-bugs] [Bug 16825] Add API route for getting an item
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Mar 9 08:30:43 CET 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16825
Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |m.de.rooy at rijksmuseum.nl
Status|Signed Off |Failed QA
--- Comment #36 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Running the test fails with me.
# Subtest: Confirm effectiveness of OpacHiddenItems
1..7
ok 1 - GET /api/v1/items/21
not ok 2 - 200 OK
# Failed test '200 OK'
# at t/db_dependent/api/v1/items.t line 85.
# got: '500'
# expected: '200'
not ok 3 - exact match for JSON Pointer "/itemnumber"
# Failed test 'exact match for JSON Pointer "/itemnumber"'
# at t/db_dependent/api/v1/items.t line 85.
# got: undef
# expected: '21'
not ok 4 - exact match for JSON Pointer "/biblionumber"
# Failed test 'exact match for JSON Pointer "/biblionumber"'
# at t/db_dependent/api/v1/items.t line 85.
# got: undef
# expected: '32'
ok 5 - exact match for JSON Pointer "/itemnotes_nonpublic"
ok 6 - GET /api/v1/items/21
ok 7 - 404 Not Found
# Looks like you failed 3 tests of 7.
not ok 3 - Confirm effectiveness of OpacHiddenItems
# Failed test 'Confirm effectiveness of OpacHiddenItems'
# at t/db_dependent/api/v1/items.t line 96.
ok 4 - GET /api/v1/items/21
not ok 5 - 200 OK
# Failed test '200 OK'
# at t/db_dependent/api/v1/items.t line 100.
# got: '500'
# expected: '200'
not ok 6 - exact match for JSON Pointer "/itemnumber"
# Failed test 'exact match for JSON Pointer "/itemnumber"'
# at t/db_dependent/api/v1/items.t line 100.
# got: undef
# expected: '21'
not ok 7 - exact match for JSON Pointer "/biblionumber"
# Failed test 'exact match for JSON Pointer "/biblionumber"'
# at t/db_dependent/api/v1/items.t line 100.
# got: undef
# expected: '32'
not ok 8 - exact match for JSON Pointer "/itemnotes_nonpublic"
# Failed test 'exact match for JSON Pointer "/itemnotes_nonpublic"'
# at t/db_dependent/api/v1/items.t line 100.
# got: undef
# expected: 'Wb_gNO'
# Looks like you failed 5 tests of 8.
not ok 2 - get() tests
# Failed test 'get() tests'
# at t/db_dependent/api/v1/items.t line 107.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list