[Koha-bugs] [Bug 10653] UT : C4::RotatingCollections.pm needs unit tests.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 31 10:07:57 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10653

--- Comment #4 from kenza <kenza.zaki at biblibre.com> ---
(In reply to Srdjan Jankovic from comment #3)
> t/db_dependent/RotatingCollections.t .. 1/41 DBD::mysql::db do failed:
> Cannot delete or update a parent row: a foreign key constraint fails
> (`koha`.`issues`, CONSTRAINT `issues_ibfk_1` FOREIGN KEY (`borrowernumber`)
> REFERENCES `borrowers` (`borrowernumber`) ON UPDATE CASCADE) at
> t/db_dependent/RotatingCollections.t line 41.
> DBD::mysql::db do failed: Cannot delete or update a parent row: a foreign
> key constraint fails (`koha`.`issues`, CONSTRAINT `issues_ibfk_1` FOREIGN
> KEY (`borrowernumber`) REFERENCES `borrowers` (`borrowernumber`) ON UPDATE
> CASCADE) at t/db_dependent/RotatingCollections.t line 41.
> 
> Is my db out of sync?

I just try and indeed if i just do prove t/db_dependent/RotatingCollections.t ,
i have the same errors. But if i'm in root or if i do sudo prove
t/db_dependent/RotatingCollections.t, it works! I really don't understand why.
I'll try to fix this problem...

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list