[Koha-bugs] [Bug 36075] Add API route to list recalls
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Feb 19 15:58:14 CET 2024
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36075
David Nind <david at davidnind.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Needs Signoff |Failed QA
CC| |david at davidnind.com
--- Comment #3 from David Nind <david at davidnind.com> ---
The tests failed for me 8-(:
prove -v t/db_dependent/api/v1/recalls.t
t/db_dependent/api/v1/recalls.t ..
1..1
# Subtest: list() tests
1..9
ok 1 - GET
//u47rPv2aNmke8fdORvXFwavpqwMprAZRXAGEIbO3a8:thePassword123@/api/v1/recalls
ok 2 - SWAGGER3.2.2
not ok 3 - exact match for JSON Pointer ""
# Failed test 'exact match for JSON Pointer ""'
# at t/db_dependent/api/v1/recalls.t line 51.
# Structures begin differing at:
# $got->[0] = HASH(0x5599d5bbb7f8)
# $expected->[0] = Does not exist
ok 4 - GET
//u47rPv2aNmke8fdORvXFwavpqwMprAZRXAGEIbO3a8:thePassword123@/api/v1/recalls?patron_id=55
ok 5 - SWAGGER3.2.2
ok 6 - Recalls for patron retrieved
ok 7 - GET
//u47rPv2aNmke8fdORvXFwavpqwMprAZRXAGEIbO3a8:thePassword123@/api/v1/recalls?completed=false
ok 8 - SWAGGER3.2.2
not ok 9 - Current recalls retrieved
# Failed test 'Current recalls retrieved'
# at t/db_dependent/api/v1/recalls.t line 60.
# Structures begin differing at:
# $got->[0]{waiting_date} = undef
# $expected->[0]{waiting_date} = '2024-02-19T14:53:59+00:00'
# Looks like you failed 2 tests of 9.
not ok 1 - list() tests
# Failed test 'list() tests'
# at t/db_dependent/api/v1/recalls.t line 64.
# Looks like you failed 1 test of 1.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
Test Summary Report
-------------------
t/db_dependent/api/v1/recalls.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
Files=1, Tests=1, 6 wallclock secs ( 0.01 usr 0.00 sys + 4.86 cusr 0.46
csys = 5.33 CPU)
Result: FAIL
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list