[Koha-bugs] [Bug 12457] The module C4::Members.pm needs more unit tests

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 17 15:32:14 CEST 2014


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

Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Failed QA

--- Comment #5 from Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> ---
First patch Ok, test pass
On second patch, first test pass, but the other two fail :(

t/db_dependent/Members.t ................... ok     
t/db_dependent/Members/GetAllIssues.t ...... DBD::mysql::db do failed: Cannot
delete or update a parent row: a foreign key constraint fails
(`kohadev`.`items`, CONSTRAINT `items_ibfk_2` FOREIGN KEY (`homebranch`)
REFERENCES `branches` (`branchcode`) ON UPDATE CASCADE) at
t/db_dependent/Members/GetAllIssues.t line 22.
DBD::mysql::db do failed: Cannot delete or update a parent row: a foreign key
constraint fails (`kohadev`.`items`, CONSTRAINT `items_ibfk_2` FOREIGN KEY
(`homebranch`) REFERENCES `branches` (`branchcode`) ON UPDATE CASCADE) at
t/db_dependent/Members/GetAllIssues.t line 22.
# Looks like your test exited with 255 before it could output anything.
t/db_dependent/Members/GetAllIssues.t ...... Dubious, test returned 255 (wstat
65280, 0xff00)
Failed 16/16 subtests 
t/db_dependent/Members/GetPendingIssues.t .. DBD::mysql::db do failed: Cannot
delete or update a parent row: a foreign key constraint fails
(`kohadev`.`items`, CONSTRAINT `items_ibfk_2` FOREIGN KEY (`homebranch`)
REFERENCES `branches` (`branchcode`) ON UPDATE CASCADE) at
t/db_dependent/Members/GetPendingIssues.t line 22.
DBD::mysql::db do failed: Cannot delete or update a parent row: a foreign key
constraint fails (`kohadev`.`items`, CONSTRAINT `items_ibfk_2` FOREIGN KEY
(`homebranch`) REFERENCES `branches` (`branchcode`) ON UPDATE CASCADE) at
t/db_dependent/Members/GetPendingIssues.t line 22.
# Looks like your test exited with 255 before it could output anything.
t/db_dependent/Members/GetPendingIssues.t .. Dubious, test returned 255 (wstat
65280, 0xff00)
Failed 20/20 subtest

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


More information about the Koha-bugs mailing list