https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43345

--- Comment #2 from Andrii Nugged <[email protected]> ---
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 <[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/

Reply via email to