]> git.koha-community.org Git - koha.git/commit
Bug 16890: Make TestBuilder generate date for date columns (and not datetime)
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Sat, 9 Jul 2016 14:56:32 +0000 (15:56 +0100)
committerFrédéric Demians <f.demians@tamil.fr>
Mon, 1 Aug 2016 11:31:20 +0000 (13:31 +0200)
commita112833fe15379d2c6d6e9cbcd2a728fc22ac720
treef7b019bedeb829bc9946e2e05410a50100f6ede0
parentf30665e1be2a72a81908fc651c7b293e8f5d5801
Bug 16890: Make TestBuilder generate date for date columns (and not datetime)

TestBuilder should not generate datetime for date columns, but only for
datetime and timestamp columns.

Test plan:
Make sure the change in t/db_dependent/TestBuilder.t are consistent.
Before this patch, 1 of the 2 tests should fail.
After this patch applied, they both should pass.

Signed-off-by: Srdjan <srdjan@catalyst.net.nz>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 06fa67d75a10adcc5ac8cbefad498f0e0d254b03)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
t/db_dependent/TestBuilder.t
t/lib/TestBuilder.pm