[Koha-bugs] [Bug 31557] Add ability for holds queue builder to prioritize either matching a patron's home library to the item's home or holding library
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri May 12 16:16:25 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31557
--- Comment #7 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 151135
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=151135&action=edit
Bug 31557: (QA follow-up) Make tests more robust
Tests had a few problems:
- They weren't wrapped in a transaction explicitly
- They called Koha::Biblios->delete!
- They failed if run a couple times
This patch:
- Wraps things in a transaction
- Removes not-required things ($target_rs variable not used)
- Preserves the tests logic, but filters the resultset on the
biblionumber instead of deleting all the database which can fail
depending on FK constraints.
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list