https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43345 --- Comment #2 from Andrii Nugged <nugged@gmail.com> --- Created attachment 203835 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=203835&action=edit Bug 43345: Add regression tests for active order filtering TestBuilder generates values for omitted date columns, so the existing active-order fixtures do not reliably model orders without a cancellation date. Set cancellation dates explicitly. Cover ordered, partial and standing new orders whose cancellation date is set, while retaining normal active orders as controls. Add REST API coverage for the only_active query used by the Pending orders table and keep the full parcel embed path covered. Update the method documentation to include the cancellation-date condition. Automated tests: prove t/db_dependent/Koha/Acquisition/Orders.t prove t/db_dependent/api/v1/acquisitions_orders.t Co-Authored-By: Loontik <loontik@nugged.team> -- You are receiving this mail because: You are watching all bug changes.