[Koha-bugs] [Bug 34277] Add an API endpoint to return all patrons with outstanding charges
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Aug 14 18:48:53 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34277
Lucas Gass <lucas at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |lucas at bywatersolutions.com
--- Comment #7 from Lucas Gass <lucas at bywatersolutions.com> ---
Tests fail for me when I add a manual credit to a patron accout:
# Failed test 'exact match for JSON Pointer ""'
# at /kohadevbox/koha/t/db_dependent/api/v1/patrons_accounts.t line 510.
# Structures begin differing at:
# $got->[0] = HASH(0x56200b91c9c8)
# $expected->[0] = Does not exist
ok 4 - GET
//aMgjvtk9LM4Tcta89qLDALIsozh9yWEECy4Au6B:thePassword123@/api/v1/patrons/get_balances
ok 5 - 200 OK
not ok 6 - exact match for JSON Pointer ""
# Failed test 'exact match for JSON Pointer ""'
# at /kohadevbox/koha/t/db_dependent/api/v1/patrons_accounts.t line 525.
# Structures begin differing at:
# $got->[0]{outstanding_credits}{lines}[0] = HASH(0x56200b4754d0)
# $expected->[0]{outstanding_credits}{lines}[0] = Does not exist
ok 7 - GET
//aMgjvtk9LM4Tcta89qLDALIsozh9yWEECy4Au6B:thePassword123@/api/v1/patrons/get_balances
ok 8 - 200 OK
not ok 9 - exact match for JSON Pointer ""
# Failed test 'exact match for JSON Pointer ""'
# at /kohadevbox/koha/t/db_dependent/api/v1/patrons_accounts.t line 552.
# Structures begin differing at:
# $got->[0]{outstanding_credits}{lines}[0] = HASH(0x56200b9414b8)
# $expected->[0]{outstanding_credits}{lines}[0] = Does not exist
ok 10 - GET
//aMgjvtk9LM4Tcta89qLDALIsozh9yWEECy4Au6B:thePassword123@/api/v1/patrons/get_balances
ok 11 - 200 OK
not ok 12 - exact match for JSON Pointer ""
# Failed test 'exact match for JSON Pointer ""'
# at /kohadevbox/koha/t/db_dependent/api/v1/patrons_accounts.t line 590.
# Structures begin differing at:
# $got->[0]{outstanding_credits}{lines}[0]{credit_type} = 'CREDIT'
# $expected->[0]{outstanding_credits}{lines}[0]{credit_type} =
'PAYMENT'
ok 13 - GET
//aMgjvtk9LM4Tcta89qLDALIsozh9yWEECy4Au6B:thePassword123@/api/v1/patrons/get_balances
ok 14 - 200 OK
not ok 15 - exact match for JSON Pointer ""
# Failed test 'exact match for JSON Pointer ""'
# at /kohadevbox/koha/t/db_dependent/api/v1/patrons_accounts.t line 628.
# Structures begin differing at:
# $got->[0]{borrowernumber} = '51'
# $expected->[0]{borrowernumber} = '66'
# Looks like you failed 5 tests of 15.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list