修复执行mvn test时多个TestCase失败的问题。失败原因:1)使用断言比较POJO对象时未忽略expiresTime、createTime、updateTime属性;2)初始化测试数据库时未以UTF8编码读取脚本

This commit is contained in:
LAPTOP-00JMG2HE\George Wei
2024-08-23 18:41:28 +08:00
parent 9b2ec3d341
commit e36671255a
7 changed files with 16 additions and 15 deletions

View File

@@ -19,6 +19,7 @@ spring:
sql:
init:
schema-locations: classpath:/sql/create_tables.sql
encoding: UTF-8
# Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优
data: