Bug 25638: Fix float/decimal comparison in API related tests
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 2 Jun 2020 12:40:04 +0000 (14:40 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Sun, 7 Jun 2020 10:00:59 +0000 (12:00 +0200)
commit8dfbc46aa4bebffb5e7bd262612ef9d08d24e5d3
treec9bb4123a227c173476b90197ad23522ffeb072c
parent59ae6ced7fa7ffbcc0a061d884a3bb4cbb233b15
Bug 25638: Fix float/decimal comparison in API related tests

The previous fix from bug 25513 does not work in all versions we are
supporting.

Let's hack the float/decimal columns in the same way we did for integer.

prove t/db_dependent/api/v1/acquisitions_vendors.t \
      t/db_dependent/api/v1/patrons_accounts.t \
      t/db_dependent/api/v1/acquisitions_orders.t

Note that there is another error on U20 for acquisitions_orders.t

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Object.pm