[Koha-bugs] [Bug 23070] Use Koha::Hold in C4::Reserves::RevertWaitingStatus

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 1 16:39:05 CEST 2020


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

--- Comment #22 from Victor Grousset/tuxayo <victor at tuxayo.net> ---
I got an error on the tests, is there any thing else to do before running them?


#### Error:
kohadev-koha at 661a25cf6198:/kohadevbox/koha$ time prove
t/db_dependent/Reserves.t
t/db_dependent/Reserves.t .. 8/63 Use of uninitialized value in string eq at
/kohadevbox/koha/C4/Reserves.pm line 558.
Use of uninitialized value in string eq at /kohadevbox/koha/C4/Reserves.pm line
558.
t/db_dependent/Reserves.t .. 60/63         # Looks like you planned 2 tests but
ran 1.

    #   Failed test 'item level hold'
    #   at t/db_dependent/Reserves.t line 961.
    # Looks like you planned 2 tests but ran 1.
    # Looks like you failed 1 test of 1 run.

#   Failed test 'reserves.item_level_hold'
#   at t/db_dependent/Reserves.t line 992.
DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::mysql::st
execute failed: Unknown column 'no_triggers' in 'field list' [for Statement
"UPDATE `reserves` SET `no_triggers` = ?, `priority` = priority + 1 WHERE ( (
`biblionumber` = ? AND `priority` > ? ) )" with ParamValues: 0=1, 1=458, 2=0]
at /kohadevbox/koha/Koha/Objects.pm line 222
# Looks like your test exited with 11 just after 61.
t/db_dependent/Reserves.t .. Dubious, test returned 11 (wstat 2816, 0xb00)
Failed 3/63 subtests 

Test Summary Report
-------------------
t/db_dependent/Reserves.t (Wstat: 2816 Tests: 61 Failed: 1)
  Failed test:  61
  Non-zero exit status: 11
  Parse errors: Bad plan.  You planned 63 tests but ran 61.
Files=1, Tests=61,  6 wallclock secs ( 0.04 usr  0.01 sys +  4.78 cusr  0.72
csys =  5.55 CPU)
Result: FAIL

real    0m6.765s
user    0m4.890s
sys     0m0.749s

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


More information about the Koha-bugs mailing list