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

--- Comment #1 from Julian Maurice <julian.maur...@biblibre.com> ---
Created attachment 71388
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=71388&action=edit
Bug 20169: Fix two tests when DBD::mysql is 4.041

Tests pass with DBD::mysql 4.028, but not with 4.041. I'm not sure which
exact version makes those tests to fail.

The problem is that with newer versions of DBD::mysql, 'float' columns
get converted to numbers instead of string, thus the comparison fail.

This patch converts the expected values to numbers so the
comparison should succeed with both versions of DBD::mysql

Test plan:
1. Install DBD::mysql 4.041 or newer
2. prove t/db_dependent/Accounts.t t/db_dependent/Bookseller.t

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://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