t/db_dependent/api/v1/bookings.t .. 2/5 DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::mysql::st execute failed: Duplicate entry '6' for key 'PRIMARY' at /kohadevbox/koha/Koha/Object.pm line 172
Created attachment 168142 [details] [review] Bug 36936: Squash warning in bookings test Simple catch for the warning throwing by DuplicateID exceptions in the bookings.t api tests. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Trivial patch to catch and test for the thrown warning instead of letting it pass through in the tests. Straight SO
Created attachment 168219 [details] [review] Bug 36936: Squash warning in bookings test Simple catch for the warning throwing by DuplicateID exceptions in the bookings.t api tests. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Pushed for 24.11! Well done everyone, thank you!