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

--- Comment #24 from Paul Derscheid <[email protected]> ---
Created attachment 206252
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206252&action=edit
Bug 43108: (QA follow-up) Test that cancelled/completed bookings don't block
availability

_mark_bookings excludes cancelled and completed bookings from the
conflict/blocker calculation (status => { -not_in => [...] }), but no
existing fixture ever created a booking in either of those statuses,
so the exclusion itself was unverified. Flipping -not_in to -in would
currently pass every test in this file.

Add a case with one active, one cancelled and one completed booking
on otherwise-identical items, asserting the active booking still
blocks while the other two don't.

Signed-off-by: Martin Renvoize <[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