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

--- Comment #11 from Stefan Berndtsson <[email protected]> ---
(In reply to Martin Renvoize from comment #9)
> I'm convinced, and looked up the specs to confirm. Now we just need a unit
> test to protect us from later regressions ;-).
> 
> Are you able to submit that, of should I add it to my list to try and get to
> soon?

I'm unable to run the existing tests for two reasons.

1. I get:
  DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::mysql::st
execute failed: Cannot add or update a child row: a foreign key constraint
fails (`koha_koha`.`checkout_renewals`, CONSTRAINT `renewals_renewer_id`
FOREIGN KEY (`renewer_id`) REFERENCES `borrowers` (`borrowernumber`) ON DELETE
SET NULL ON UPDATE CASCADE)


2. test_checkout_v2 assumes that circulation rules are set in some specific way
in the database and does not mock those values in the test. (This may apply to
other tests as well).

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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