[Koha-bugs] [Bug 25662] Create hold route does not check maxreserves syspref
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Sep 10 06:41:48 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25662
--- Comment #18 from Aleisha Amohia <aleisha at catalyst.net.nz> ---
Tests fail on 19.11.x. Please fix and let me know when ready to re-backport.
$ prove t/db_dependent/api/v1/holds.t
t/db_dependent/api/v1/holds.t ..
# Failed test '401 Unauthorized'
# at t/db_dependent/api/v1/holds.t line 148.
# got: '503'
# expected: '401'
# Failed test '401 Unauthorized'
# at t/db_dependent/api/v1/holds.t line 150.
# got: '503'
# expected: '401'
# Failed test '401 Unauthorized'
# at t/db_dependent/api/v1/holds.t line 152.
# got: '503'
# expected: '401'
# Failed test '401 Unauthorized'
# at t/db_dependent/api/v1/holds.t line 154.
# got: '503'
# expected: '401'
# Looks like you failed 4 tests of 8.
t/db_dependent/api/v1/holds.t .. 1/9
# Failed test 'Test endpoints without authentication'
# at t/db_dependent/api/v1/holds.t line 156.
t/db_dependent/api/v1/holds.t .. 8/9
# Failed test '201 Created'
# at t/db_dependent/api/v1/holds.t line 585.
# got: '403'
# expected: '201'
# Failed test '201 Created'
# at t/db_dependent/api/v1/holds.t line 595.
# got: '403'
# expected: '201'
# Looks like you failed 2 tests of 7.
# Failed test 'add() tests (maxreserves behaviour)'
# at t/db_dependent/api/v1/holds.t line 610.
# Looks like you failed 2 tests of 9.
t/db_dependent/api/v1/holds.t .. Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/9 subtests
Test Summary Report
-------------------
t/db_dependent/api/v1/holds.t (Wstat: 512 Tests: 9 Failed: 2)
Failed tests: 1, 9
Non-zero exit status: 2
Files=1, Tests=9, 5 wallclock secs ( 0.03 usr 0.01 sys + 4.50 cusr 0.87
csys = 5.41 CPU)
Result: FAIL
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list