https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43163
--- Comment #1 from Paul Derscheid <[email protected]> --- Created attachment 202479 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=202479&action=edit Bug 43163: Silence expected DB exception warnings in booking tests Bug 42391 restored the DB exception warnings in Koha::Object::store, but the booking tests exercising those failure paths were left without warning_like wrappers, so Test::NoWarnings fails on both files. - Koha/Booking.t: wrap the duplicate booking_id store (DuplicateID) and the invalid status enum update (BadValue) - api/v1/bookings.t: wrap the POST with an existing booking_id (409) Test plan: 1. prove t/db_dependent/Koha/Booking.t t/db_dependent/api/v1/bookings.t fails on main with 'no warnings' before the patch, passes after Signed-off-by: Paul Derscheid <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected] website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
