Skip to content

Commit

Permalink
Fix unit testing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
“v_kkhuang” committed Sep 19, 2024
1 parent a6e4300 commit 664a920
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ public class InstanceInfoDaoTest extends BaseDaoTest {

void insert() {
InstanceInfo instanceInfo = new InstanceInfo();
instanceInfo.setId(1);
instanceInfo.setInstance("testInstance");
instanceInfo.setApplicationName("testApplicationName");
instanceInfoDao.insertOne(instanceInfo);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ spring.datasource.driver-class-name=org.h2.Driver
spring.datasource.url=jdbc:h2:mem:test;MODE=MySQL;DB_CLOSE_DELAY=-1;DATABASE_TO_LOWER=true;INIT=runscript from 'classpath:create.sql'
spring.datasource.username=sa
spring.datasource.password=
spring.datasource.schema=classpath:create.sql
#spring.datasource.schema=classpath:create_pg.sql

mybatis-plus.mapper-locations=classpath*:mapper/common/*.xml,classpath*:mapper/mysql/*.xml
Expand Down

0 comments on commit 664a920

Please sign in to comment.