DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::mysql::st execute failed: Cannot delete or update a parent row: a foreign key constraint fails (`koha_kohadev`.`issues`, CONSTRAINT `issues_ibfk_1` FOREIGN KEY (`borrowernumber`) REFERENCES `borrowers` (`borrowernumber`) ON UPDATE CASCADE) at /kohadevbox/koha/Koha/Object.pm line 234
Created attachment 143985 [details] [review] Bug 32240: Prevent erm_users.t to fail if checkout exist We should not (never) remove all patrons before tests Test plan: 0. Don't apply the patch 1. Check an item out 2. Run the tests => Fail 3. Apply the patch 4. Create a patron with the erm permission 5. Run the tests => Must return green
Created attachment 144005 [details] [review] Bug 32240: Prevent erm_users.t to fail if checkout exist We should not (never) remove all patrons before tests Test plan: 0. Don't apply the patch 1. Check an item out 2. Run the tests => Fail 3. Apply the patch 4. Create a patron with the erm permission 5. Run the tests => Must return green Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Pushed to master for 22.11. Nice work everyone, thanks!