https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19166
Jon Knight <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #18 from Jon Knight <[email protected]> --- I have applied the database changes on my kohadevbox and I get this from `prove -v t/db_dependent/Budgets.t` (first 128 tests of the 145 are OK, so looks like test 129 is blowing up, so I won't include all the output for brevity here): ok 127 - MoveOrders updated the budget amount with the previous unspent budget (for budget budget_2) ok 128 - MoveOrders updated the budget amount with the previous unspent budget (for budget budget_21) DBD::mysql::st execute failed: Cannot add or update a child row: a foreign key constraint fails (`koha_kohadev`.`account_offsets`, CONSTRAINT `account_offsets_ibfk_t` FOREIGN KEY (`type`) REFERENCES `account_offset_types` (`type`) ON DELETE CASCADE ON UPDATE CASCADE) [for Statement "INSERT INTO `account_offsets` ( `amount`, `debit_id`, `type`) VALUES ( ?, ?, ? )" with ParamValues: 0=173079442325239000000.000000, 1='1', 2='Manual Debit'] at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1832. DBIx::Class::Storage::DBI::_dbh_execute(): Cannot add or update a child row: a foreign key constraint fails (`koha_kohadev`.`account_offsets`, CONSTRAINT `account_offsets_ibfk_t` FOREIGN KEY (`type`) REFERENCES `account_offset_types` (`type`) ON DELETE CASCADE ON UPDATE CASCADE) at /home/vagrant/kohaclone/Koha/Object.pm line 122 # Looks like your test exited with 255 just after 128. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 17/145 subtests Test Summary Report ------------------- t/db_dependent/Budgets.t (Wstat: 65280 Tests: 128 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 145 tests but ran 128. Files=1, Tests=128, 5 wallclock secs ( 0.04 usr 0.02 sys + 3.98 cusr 0.44 csys = 4.48 CPU) Result: FAIL -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://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/
