[Koha-bugs] [Bug 20262] Add ability to refund lost item fees without creating credits

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Jun 12 13:57:59 CEST 2022


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

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Signed Off                  |Failed QA

--- Comment #34 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Hi,

a bit scared of this one, but got stuck on the first steps.

1) QA tools have some minor complaints:

 FAIL   Koha/Item.pm
   FAIL   spelling
                 wich ==> which

 OK     koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt
 FAIL   t/db_dependent/Circulation.t
   FAIL   spelling
                 iwth ==> with


2) Tests are failing

prove  t/db_dependent/Circulation.t 
t/db_dependent/Circulation.t .. 33/60 
            #   Failed test 'The LOST amountoutstanding is the expected amount
after partial payment of lost fee'
            #   at t/db_dependent/Circulation.t line 3325.
            #          got: '99'
            #     expected: '60'

            #   Failed test 'Account balance should be zero after returning
item with lost fee when partial payment has been made'
            #   at t/db_dependent/Circulation.t line 3343.
            #          got: '-39'
            #     expected: '0'

            #   Failed test 'The LOST amountoutstanding is the expected amount
after partial payment of lost fee'
            #   at t/db_dependent/Circulation.t line 3385.
            #          got: '99'
            #     expected: '0'

            #   Failed test 'Account balance is the expected amount after
partial payment of lost fee'
            #   at t/db_dependent/Circulation.t line 3390.
            #          got: '-39'
            #     expected: '0'

            #   Failed test 'Account balance should be zero after returning
item with lost fee when full payment has been made'
            #   at t/db_dependent/Circulation.t line 3403.
            #          got: '-138'
            #     expected: '0'
            # Looks like you failed 5 tests of 21.

        #   Failed test 'lostreturn | refund_unpaid'
        #   at t/db_dependent/Circulation.t line 3408.
        # Looks like you failed 1 test of 5.

    #   Failed test 'enh 23091 | Lost item return policies'
    #   at t/db_dependent/Circulation.t line 3785.
    # Looks like you failed 1 test of 9.
t/db_dependent/Circulation.t .. 34/60 
#   Failed test 'AddReturn | is_overdue'
#   at t/db_dependent/Circulation.t line 3786.
t/db_dependent/Circulation.t .. 60/60 # Looks like you failed 1 test of 60.
t/db_dependent/Circulation.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/60 subtests 

Test Summary Report
-------------------
t/db_dependent/Circulation.t (Wstat: 256 Tests: 60 Failed: 1)
  Failed test:  34
  Non-zero exit status: 1
Files=1, Tests=60, 68 wallclock secs ( 0.13 usr  0.01 sys + 49.52 cusr  5.11
csys = 54.77 CPU)
Result: FAIL

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


More information about the Koha-bugs mailing list