https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27892
Bug ID: 27892
Summary: api/v1/acquisitions_vendors.t is failing randomly
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P5 - low
Component: Test Suite
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
10:51:09 koha_1 | # Failed test 'No tests run for subtest "list() and
delete() tests | authorized user"'
10:51:09 koha_1 | # at t/db_dependent/api/v1/acquisitions_vendors.t
line 112.
10:51:09 koha_1 | DBIx::Class::Storage::DBI::_dbh_execute(): DBI
Exception: DBD::mysql::st execute failed: Cannot delete or update a parent row:
a foreign key constraint fails (`koha_kohadev`.`vendor_edi_accounts`,
CONSTRAINT `vfk_vendor_id` FOREIGN KEY (`vendor_id`) REFERENCES `aqbooksellers`
(`id`)) [for Statement "DELETE FROM `aqbooksellers`"] at
/kohadevbox/koha/Koha/Objects.pm line 208
10:51:09 koha_1 | # Looks like your test exited with 255 just after 1.
Master_D9 (#1590)
Looks like we are missing a "on delete cascade" on vendor_edi_accounts
--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/