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

Lucas Gass (lukeg) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Passed QA                   |Failed QA

--- Comment #76 from Lucas Gass (lukeg) <[email protected]> ---
With this patchset applied xt/api.t fails:

kohadev-koha@kohadevbox:koha(main)$ prove -v xt/api.t 
xt/api.t .. 
1..8
ok 1 - GET /api/v1/
ok 2
# Subtest: The spec passes the swagger-cli validation
    1..1
    not ok 1 - Validation exit code is 0

    #   Failed test 'Validation exit code is 0'
    #   at xt/api.t line 103.
    #          got: '256'
    #     expected: '0'
    # Validation failed. /paths/patrons/{patron_id}/hold_groups/post is missing
path parameter(s) for {patron_id}
    # Looks like you failed 1 test of 1.
not ok 3 - The spec passes the swagger-cli validation

#   Failed test 'The spec passes the swagger-cli validation'
#   at xt/api.t line 108.
# Subtest: tags tests
    1..1
    not ok 1 - No tag errors in the spec

    #   Failed test 'No tag errors in the spec'
    #   at xt/api.t line 130.
    #     Structures begin differing at:
    #          $got->[0] = 'get /patrons/{patron_id}/hold_groups -> uses tag
'hold_groups' not present in top level list'
    #     $expected->[0] = Does not exist
get /patrons/{patron_id}/hold_groups -> uses tag 'hold_groups' not present in
top level list
post /patrons/{patron_id}/hold_groups -> uses tag 'hold_groups' not present in
top level list
    # Looks like you failed 1 test of 1.
not ok 4 - tags tests
# Subtest: 400 response tests

#   Failed test 'tags tests'
#   at xt/api.t line 135.
    1..1
    ok 1 - No errors in 400 definitions in the spec
ok 5 - 400 response tests
# Subtest: POST (201) have location header

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to