[Koha-bugs] [Bug 21613] Turn strict SQL mode on for tests

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 19 01:09:48 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21613

--- Comment #2 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 80888
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=80888&action=edit
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

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list