]> git.koha-community.org Git - koha.git/commit
Bug 25638: Add tests for JSON conversion vs DBD::mysql
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 5 Jun 2020 18:44:39 +0000 (15:44 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Sun, 7 Jun 2020 10:00:59 +0000 (12:00 +0200)
commit0569072fc1db2f4af731d5377c654ae7ef76e15a
tree7bd8418f40aeafb32418cd7e12a7638c5d1ca112
parent2f828d433da9c32e865669079db9f367db79aeab
Bug 25638: Add tests for JSON conversion vs DBD::mysql

We have the situation of needing to cast numbers so they are not
confused in JSON with strings by DBD::mysql returning them with the
wrong internal flags.

We have also recently removed the cast, and adding it back now.
This test could help us detect this situation in case we make changes in
the area, and even on specific libraries versions.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
t/db_dependent/Koha/Object.t