[Koha-bugs] [Bug 26143] The API does not handle requesting all resources
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sun Sep 20 14:14:37 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26143
Victor Grousset/tuxayo <victor at tuxayo.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |victor at tuxayo.net
--- Comment #13 from Victor Grousset/tuxayo <victor at tuxayo.net> ---
Couldn't backport to 19.05.x
Conflicts weren't an issue but the last test fails.
If there is an interest in having this backported, feel free to submit a patch
for 19.05.
kohadev-koha at b206c3f13d4a:/kohadevbox/koha$ prove
t/Koha/REST/Plugin/Pagination.t t/db_dependent/Koha/REST/Plugin/Objects.t
t/Koha/REST/Plugin/Pagination.t ............ ok
t/db_dependent/Koha/REST/Plugin/Objects.t ..
# Failed test '_per_page=-1 means all resources'
# at t/db_dependent/Koha/REST/Plugin/Objects.t line 266.
# got: '23'
# expected: '24'
# Failed test 'When _per_page=-1 the page param is not considered'
# at t/db_dependent/Koha/REST/Plugin/Objects.t line 272.
# got: '23'
# expected: '24'
# Looks like you failed 2 tests of 102.
t/db_dependent/Koha/REST/Plugin/Objects.t .. 1/2
# Failed test 'objects.search helper'
# at t/db_dependent/Koha/REST/Plugin/Objects.t line 275.
# Looks like you failed 1 test of 2.
t/db_dependent/Koha/REST/Plugin/Objects.t .. Dubious, test returned 1 (wstat
256, 0x100)
Failed 1/2 subtests
Test Summary Report
-------------------
t/db_dependent/Koha/REST/Plugin/Objects.t (Wstat: 256 Tests: 2 Failed: 1)
Failed test: 1
Non-zero exit status: 1
Files=2, Tests=4, 4 wallclock secs ( 0.04 usr 0.02 sys + 3.18 cusr 0.41
csys = 3.65 CPU)
Result: FAIL
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list