https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30007 --- Comment #17 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 131298 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=131298&action=edit Bug 30007: (follow-up) Adapt tests This patch adapts tests to acknowledge ->cancel and ->fill methods won't yield 'undef' borrowernumber when anonymization takes place, and even further, and exception will be thrown and cancellation/fulfillment will be rejected. To test: 1. Apply this patch 2. Run: $ kshell k$ prove t/db_dependent/Koha/Hold.t => SUCCESS: Tests pass! 3. Sign off :-D Bonus: this problem was hidding bad tests caused by 29857, fixed on this one as well. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.