[Koha-bugs] [Bug 32340] Several tests failing for t/db_dependent/Reserves.t

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 12 15:32:09 CET 2024


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

Matthias Le Gac <matthias.le-gac at inlibro.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |matthias.le-gac at inlibro.com
             Status|Needs Signoff               |Failed QA

--- Comment #8 from Matthias Le Gac <matthias.le-gac at inlibro.com> ---
After I apply the patch the test doesn't pass.

t/db_dependent/Reserves.t .. 5/77 No reserves HOLD_CANCELLATION letter
transported by email at /inlibro/git/koha-master-dev-matthias/C4/Letters.pm
line 603.
t/db_dependent/Reserves.t .. 50/77 DBIx::Class::Storage::DBI::_dbh_execute():
DBI Exception: DBD::mysql::st execute failed: Cannot add or update a child row:
a foreign key constraint fails (`koha_master_dev_matthias`.`accountlines`,
CONSTRAINT `accountlines_ibfk_debit_type` FOREIGN KEY (`debit_type_code`)
REFERENCES `account_debit_types` (`code`) ON UPDATE CASCADE) at
/inlibro/git/koha-master-dev-matthias/Koha/Object.pm line 170
    # No tests run!

#   Failed test 'No tests run for subtest "ChargeReserveFee tests"'
#   at t/db_dependent/Reserves.t line 983.
Exception 'Koha::Exceptions::Account::UnrecognisedType' thrown 'Type of debit
not recognised'
# Looks like your test exited with 255 just after 62.
t/db_dependent/Reserves.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 16/77 subtests 

Test Summary Report
-------------------
t/db_dependent/Reserves.t (Wstat: 65280 Tests: 62 Failed: 1)
  Failed test:  62
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 77 tests but ran 62.
Files=1, Tests=62,  3 wallclock secs ( 0.03 usr  0.00 sys +  3.07 cusr  0.16
csys =  3.26 CPU)
Result: FAIL

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


More information about the Koha-bugs mailing list