[Koha-bugs] [Bug 14694] Make decreaseloanHighHolds more flexible

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Oct 17 17:08:48 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14694

--- Comment #8 from Marc Véron <veron at veron.ch> ---
The feature works, but the tests still fail, same results as in comment #5:

1..12
ok 1 - userenv set
not ok 2 - Should exceed threshold

#   Failed test 'Should exceed threshold'
#   at t/db_dependent/DecreaseLoanHighHolds.t line 95.
#          got: '0'
#     expected: '1'
ok 3 - Should have 5 outstanding holds
not ok 4 - Should have duration of 1

#   Failed test 'Should have duration of 1'
#   at t/db_dependent/DecreaseLoanHighHolds.t line 97.
#          got: '0'
#     expected: '1'
not ok 5 - due_date should be a DateTime object

#   Failed test 'due_date should be a DateTime object'
#   at t/db_dependent/DecreaseLoanHighHolds.t line 98.
#          got: ''
#     expected: 'DateTime'
ok 6 - Should not exceed threshold
not ok 7 - Should exceed threshold

#   Failed test 'Should exceed threshold'
#   at t/db_dependent/DecreaseLoanHighHolds.t line 116.
#          got: '0'
#     expected: '1'
ok 8 - Should not exceed threshold
not ok 9 - Should exceed threshold

#   Failed test 'Should exceed threshold'
#   at t/db_dependent/DecreaseLoanHighHolds.t line 127.
#          got: '0'
#     expected: '1'
not ok 10 - Should exceed threshold

#   Failed test 'Should exceed threshold'
#   at t/db_dependent/DecreaseLoanHighHolds.t line 134.
#          got: '0'
#     expected: '1'
not ok 11 - Should exceed threshold

#   Failed test 'Should exceed threshold'
#   at t/db_dependent/DecreaseLoanHighHolds.t line 141.
#          got: '0'
#     expected: '1'
not ok 12 - Should exceed threshold

#   Failed test 'Should exceed threshold'
#   at t/db_dependent/DecreaseLoanHighHolds.t line 148.
#          got: '0'
#     expected: '1'
# Looks like you failed 8 tests of 12.
Dubious, test returned 8 (wstat 2048, 0x800)
Failed 8/12 subtests 

Test Summary Report
-------------------
t/db_dependent/DecreaseLoanHighHolds.t (Wstat: 2048 Tests: 12 Failed: 8)
  Failed tests:  2, 4-5, 7, 9-12
  Non-zero exit status: 8
Files=1, Tests=12,  2 wallclock secs ( 0.02 usr  0.00 sys +  1.30 cusr  0.10
csys =  1.42 CPU)
Result: FAIL

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


More information about the Koha-bugs mailing list