[Koha-bugs] [Bug 25303] Koha::Objects->delete should not skip overridden object class ->delete
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Apr 29 23:49:02 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25303
--- Comment #12 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 103998
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=103998&action=edit
Bug 25303: (QA follow-up) Fix test construction
The test called ->delete on the resultset directly, which is not the
same when we already called ->next and the Koha::Hold->delete won't be
called as there's no ->next hold.
I took the oportunity to wrap the subtest in its own transaction and
build its own data to avoid interference between tests...
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