]> 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)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 15 Jul 2016 14:59:46 +0000 (14:59 +0000)
commit06fa67d75a10adcc5ac8cbefad498f0e0d254b03
tree5ea26d6534bb0f00bb6081c9ab2c9d4a2a205766
parent58138e93d709b953f00cc126318d2cc4a9e102f4
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>
t/db_dependent/TestBuilder.t
t/lib/TestBuilder.pm