http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13942 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart@biblibre.co | |m --- Comment #4 from Jonathan Druart <jonathan.druart@biblibre.com> --- (In reply to Kyle M Hall from comment #3)
I received the following when I ran the unit tests with an installation using the sample data: prove -v t/db_dependent/Accounts.t t/db_dependent/Accounts.t .. 1..15 ok 1 - use C4::Accounts; ok 2 - use Koha::Object; ok 3 - use Koha::Borrower; ok 4 - use Data::Dumper; ok 5 - C4::Accounts->can(...) DBD::mysql::db do failed: Cannot delete or update a parent row: a foreign key constraint fails (`koha_kohaqa`.`issues`, CONSTRAINT `issues_ibfk_1` FOREIGN KEY (`borrowernumber`) REFERENCES `borrowers` (`borrowernumber`) ON UPDATE CASCADE) at t/db_dependent/Accounts.t line 53.
This is because you have issues in your DB, so not the default sample data :) But this needs to be fixed anyway. -- You are receiving this mail because: You are watching all bug changes.