aboutsummaryrefslogtreecommitdiff
path: root/src/test/resources
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-12-14 20:21:22 +0300
committerGravatar Vitaly Takmazov2022-12-14 20:21:22 +0300
commitbbb3ba2a7002c958ab8c1319195521afd132a0b5 (patch)
tree2fe55af1e325f65598646a5bbe4967c01bbd5eff /src/test/resources
parent708c1fea2e47997698c493e13cd16c200d60d276 (diff)
CI: fix mysql environment
NO_AUTO_VALUE_ON_ZERO is required
Diffstat (limited to 'src/test/resources')
-rw-r--r--src/test/resources/application-mysql.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/resources/application-mysql.yml b/src/test/resources/application-mysql.yml
index e55a292f..033a4f1e 100644
--- a/src/test/resources/application-mysql.yml
+++ b/src/test/resources/application-mysql.yml
@@ -1,7 +1,7 @@
spring:
datasource:
driver-class-name: org.mariadb.jdbc.Driver
- url: jdbc:mariadb://localhost:3306/juick?zeroDateTimeBehavior=convertToNull
+ url: jdbc:mariadb://localhost:3306/juick?zeroDateTimeBehavior=convertToNull&sessionVariables=sql_mode=NO_AUTO_VALUE_ON_ZERO
username: root
password: secret
flyway: