]> git.koha-community.org Git - koha.git/commit
Bug 21613: Turn strict SQL modes on for tests
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 18 Oct 2018 23:06:07 +0000 (20:06 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Mon, 29 Oct 2018 00:41:27 +0000 (00:41 +0000)
commitbab5ff0645768a1283f28d651687bd1cc6d3dfbe
treefa6d2eba0bf3d57efb6b2c598a235ac62a88ab23
parent5a979fd0c4c34f5ccd2da744dd2847faf72aef2b
Bug 21613: Turn strict SQL modes on for tests

This patch will turn the strict SQL modes on When tests are ran with prove.

Test plan:
- Apply the first patch
- prove t/db_dependent/Koha/Database.t
=> Will pass if you have <strict_sql_modes>1</strict_sql_modes> in your
koha-conf.xml
=> Will fail otherwise
- Apply the second patch
- prove t/db_dependent/Koha/Database.t
=> Will pass whatever the value of strict_sql_modes in your
koha-conf.xml

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Koha/Database.pm