[Koha-bugs] [Bug 25560] Exclude itemtypes from UpdateNotForLoanStatusOnCheckin

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 26 06:55:22 CET 2020


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

--- Comment #19 from Alex Buckley <alexbuckley at catalyst.net.nz> ---
Just documenting for my future reference this is the unit test output David
Nind got when he tested yesterday:

---------------

prove -v xt
==============

root at kohadevbox:koha(bz25560)$ prove -v xt
xt/check_makefile.t .............. 
1..1
not ok 1 - All directories must be listed in Makefile.PL

#   Failed test 'All directories must be listed in Makefile.PL'
#   at xt/check_makefile.t line 39.
#          got: '1'
#     expected: '0'
# $VAR1 = [
#           './node_modules'
#         ];
# Looks like you failed 1 test of 1.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests 
xt/find-license-problems.t ....... 

.....

Test Summary Report
-------------------
xt/check_makefile.t            (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
Files=9, Tests=1264,  8 wallclock secs ( 0.22 usr  0.02 sys +  7.89 cusr  0.36
csys =  8.49 CPU)
Result: FAIL


prove -v t
===========

....

t/Logger.t .................................. 
1..1
# Subtest: Test01 -- Simple tests for Koha::Logger
    1..6
    ok 1 - Logger did not init correctly without config
    not ok 2 - Logger did not init correctly without permission

    #   Failed test 'Logger did not init correctly without permission'
    #   at t/Logger.t line 52.
    ok 3 - Log4perl config found
    ok 4 - ->warn returned a value
    ok 5 - Undefined method raises warning
    ok 6 - 'catastrophe' method undefined
    # Looks like you failed 1 test of 6.
not ok 1 - Test01 -- Simple tests for Koha::Logger

#   Failed test 'Test01 -- Simple tests for Koha::Logger'
#   at t/Logger.t line 63.
# Looks like you failed 1 test of 1.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests 

.....

Test Summary Report
-------------------
t/Logger.t                                (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
Files=90, Tests=4083, 845 wallclock secs ( 1.44 usr  0.20 sys + 5335.45 cusr
24.10 csys = 5361.19 CPU)
Result: FAIL


prove -v t/db_dependent/Circulation/issue.t
===========================================

...

not ok 33 - UpdateNotForLoanStatusOnCheckin does not update notforloan value
when itemtypes.updatenotforloanstatusoncheckin = 0

...
not ok 50 - The reserve should have been correctly cancelled

#   Failed test 'The reserve should have been correctly cancelled'
#   at t/db_dependent/Circulation/issue.t line 528.
#          got: 'Koha::Hold=HASH(0x5625ed03a538)'
#     expected: undef
# Looks like you failed 2 tests of 50.
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/50 subtests 

Test Summary Report
-------------------
t/db_dependent/Circulation/issue.t (Wstat: 512 Tests: 50 Failed: 2)
  Failed tests:  33, 50
  Non-zero exit status: 2
Files=1, Tests=50,  6 wallclock secs ( 0.03 usr  0.01 sys +  5.16 cusr  0.35
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