[Koha-bugs] [Bug 28632] patrons.t fragile on slow boxes

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 13 15:04:29 CEST 2021


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

--- Comment #7 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
(In reply to Jonathan Druart from comment #6)
> Why a warn? And why don't you just delete $result->{update_on} then compare
> with is_deeply?

What we want to test here is that the passed parameters are present on the
response (and on the DB). Those parameters can change because we are basically
using a Koha::Patron as a basis (there's a bug adding a new column to
'borrowers', for example) so it felt like we needed to loop through the passed
parameters and see they all match with the response.

Maybe we could assign the miss-matched attributes to a string, and make the
test compare to empty? What do you think?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list