[Koha-bugs] [Bug 12445] C4::Suggestions.pm needs more unit tests

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 24 21:58:05 CEST 2014


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

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Signed Off                  |Failed QA
                 CC|                            |katrin.fischer at bsz-bw.de

--- Comment #14 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
I am sorry, tests fail on my database:

t/db_dependent/Suggestions.t .. 1/91 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/Suggestions.t line 39.
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/Suggestions.t line 39.
# Looks like you planned 91 tests but ran 2.
# Looks like your test exited with 255 just after 2.

Can you add some clean up prior to running the tests and switch back to signed
off?

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


More information about the Koha-bugs mailing list