[Koha-bugs] [Bug 10332] UT: CourseReserves.t needs to create its own data
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jun 3 01:57:49 CEST 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10332
Srdjan Jankovic <srdjan at catalyst.net.nz> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |srdjan at catalyst.net.nz
--- Comment #5 from Srdjan Jankovic <srdjan at catalyst.net.nz> ---
Jonathan,
I'm getting
DBD::mysql::db do failed: Cannot truncate a table referenced in a foreign key
constraint (`koha`.`course_instructors`, CONSTRAINT `course_instructors_ibfk_2`
FOREIGN KEY (`course_id`) REFERENCES `koha`.`courses` (`course_id`)) at
t/db_dependent/CourseReserves.t line 22.
DBD::mysql::st execute failed: Cannot add or update a child row: a foreign key
constraint fails (`koha`.`items`, CONSTRAINT `items_ibfk_2` FOREIGN KEY
(`homebranch`) REFERENCES `branches` (`branchcode`) ON UPDATE CASCADE) at
C4/Items.pm line 2105.
Do I need to do some prep first, or some special config?
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list