https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20262

Katrin Fischer <katrin.fisc...@bsz-bw.de> changed:

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

--- Comment #11 from Katrin Fischer <katrin.fisc...@bsz-bw.de> ---
Hi Kyle,
code looks sensible, but I am having problems with the unit tests. Can you have
a look please? Tested on a clean db (reset_all), passes on master, fails with
the patch applied:

# Subtest: _FixAccountForLostAndReturned
    1..11
DBD::mysql::st execute failed: Cannot add or update a child row: a foreign key
constraint fails (`koha_kohadev`.`accountlines`, CONSTRAINT
`accountlines_ibfk_1` FOREIGN KEY (`borrowernumber`) REFERENCES `borrowers`
(`borrowernumber`) ON DELETE CASCADE ON UPDATE CASCADE) [for Statement "INSERT
INTO `accountlines` ( `accounttype`, `amount`, `amountoutstanding`,
`itemnumber`) VALUES ( ?, ?, ?, ? )" with ParamValues: 0='F', 1=10, 2=10,
3='1041'] at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1832.
    # No tests run!
not ok 113 - No tests run for subtest "_FixAccountForLostAndReturned"

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to