[Koha-bugs] [Bug 12427] C4::Members::Attributes.pm needs unit tests
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Jun 18 22:31:19 CEST 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12427
Chris Cormack <chris at bigballofwax.co.nz> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Needs Signoff |In Discussion
CC| |chris at bigballofwax.co.nz
--- Comment #4 from Chris Cormack <chris at bigballofwax.co.nz> ---
DBD::mysql::db do failed: Cannot delete or update a parent row: a foreign key
constraint fails (`koha_test`.`issues`, CONSTRAINT `issues_ibfk_1` FOREIGN KEY
(`borrowernumber`) REFERENCES `borrowers` (`borrowernumber`) ON UPDATE CASCADE)
at t/db_dependent/Members_Attributes.t line 34.
DBD::mysql::db do failed: Cannot delete or update a parent row: a foreign key
constraint fails (`koha_test`.`issues`, CONSTRAINT `issues_ibfk_1` FOREIGN KEY
(`borrowernumber`) REFERENCES `borrowers` (`borrowernumber`) ON UPDATE CASCADE)
at t/db_dependent/Members_Attributes.t line 34.
# Looks like you planned 60 tests but ran 1.
# Looks like your test exited with 255 just after 1.
Fails on a non empty db, (ie if you have any borrowers who have attributes in
the database).
Do we care about that? Or do we only care that it passes on an empty (or near
empty) database?
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list