https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41898
--- Comment #39 from Paul Derscheid <[email protected]> --- Created attachment 202473 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=202473&action=edit Bug 41898: [DO NOT PUSH] Silence expected DB exception warnings in booking tests Copy of the fix for the Bug 42391 fallout so this bug's test plan passes; the real fix is submitted on its own bug and this patch must be obsoleted, not pushed. 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 on current main, with or without this patch set. - 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) -- 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/
