[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
Fri Jul 14 15:16:24 CEST 2023


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

Laura Escamilla <Laura.escamilla at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Failed QA
                 CC|                            |Laura.escamilla at bywatersolu
                   |                            |tions.com

--- Comment #5 from Laura Escamilla <Laura.escamilla at bywatersolutions.com> ---
Unit tests failed:

    #   Failed test 'exact match for JSON Pointer ""'
    #   at t/db_dependent/api/v1/patrons_accounts.t line 510.
    #     Structures begin differing at:
    #          $got->[0] = HASH(0xaaaae46bfd98)
    #     $expected->[0] = Does not exist

    #   Failed test 'exact match for JSON Pointer ""'
    #   at t/db_dependent/api/v1/patrons_accounts.t line 525.
    #     Structures begin differing at:
    #          $got->[0]{outstanding_debits}{total} = '0.15'
    #     $expected->[0]{outstanding_debits}{total} = '10'

    #   Failed test 'exact match for JSON Pointer ""'
    #   at t/db_dependent/api/v1/patrons_accounts.t line 552.
    #     Structures begin differing at:
    #          $got->[0]{outstanding_debits}{lines}[0]{interface} = 'intranet'
    #     $expected->[0]{outstanding_debits}{lines}[0]{interface} = 'test'

    #   Failed test 'exact match for JSON Pointer ""'
    #   at t/db_dependent/api/v1/patrons_accounts.t line 590.
    #     Structures begin differing at:
    #          $got->[0]{balance} = '0.15'
    #     $expected->[0]{balance} = '0'

    #   Failed test 'exact match for JSON Pointer ""'
    #   at t/db_dependent/api/v1/patrons_accounts.t line 628.
    #     Structures begin differing at:
    #          $got->[0]{outstanding_credits}{total} = '0'
    #     $expected->[0]{outstanding_credits}{total} = '-10'
    # Looks like you failed 5 tests of 15.
t/db_dependent/api/v1/patrons_accounts.t .. 6/6
#   Failed test 'get_patron_balances() tests'
#   at t/db_dependent/api/v1/patrons_accounts.t line 645.
# Looks like you failed 1 test of 6.
t/db_dependent/api/v1/patrons_accounts.t .. Dubious, test returned 1 (wstat
256, 0x100)
Failed 1/6 subtests

Test Summary Report
-------------------
t/db_dependent/api/v1/patrons_accounts.t (Wstat: 256 Tests: 6 Failed: 1)
  Failed test:  6
  Non-zero exit status: 1
Files=1, Tests=6, 11 wallclock secs ( 0.02 usr  0.02 sys +  4.81 cusr  0.70
csys =  5.55 CPU)
Result: FAIL

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list