[Koha-bugs] [Bug 10895] Tests for C4::Items GetHiddenItems

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 31 11:46:12 CET 2013


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

M. de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |m.de.rooy at rijksmuseum.nl

--- Comment #11 from M. de Rooy <m.de.rooy at rijksmuseum.nl> ---
          'branchcode' => 'LIB1'
        };

DBD::mysql::st execute failed: Cannot add or update a child row: a foreign key
constraint fails (`kohatest`.`borrowers`, CONSTRAINT `borrowers_ibfk_1` FOREIGN
KEY (`categorycode`) REFERENCES `categories` (`categorycode`)) at
/usr/share/koha/testclone/C4/SQLHelper.pm line 184.
# Sample Borrower added.
CHECK: 0
MflvoMfsof
# 199954 - LIB1
# 199955 - LIB2

Mark: It seems that your tests depend on some branch codes that do not always
exist. Could you take that into account?
Perhaps add these branch codes in that case, and roll back at the end?

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


More information about the Koha-bugs mailing list