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

--- Comment #7 from Tomás Cohen Arazi <tomasco...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to