Skip to content

Commit 07067cb

Browse files
committed
feature: upgrade spring-boot to 2.3.1.RELEASE, spring-cloud-dependencies to Hoxton.SR6, code adapter
1 parent 5c21a60 commit 07067cb

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>app.myoss.cloud</groupId>
88
<artifactId>myoss-spring-boot-parent</artifactId>
9-
<version>2.1.17.RELEASE</version>
9+
<version>2.1.20.RELEASE</version>
1010
</parent>
1111

1212
<groupId>app.myoss.cloud.mybatis</groupId>

src/test/java/app/myoss/cloud/mybatis/test/integration/h2/test2/UserHistoryControllerIntTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
import org.springframework.beans.factory.annotation.Autowired;
3434
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
3535
import org.springframework.boot.test.context.SpringBootTest;
36-
import org.springframework.boot.test.rule.OutputCapture;
36+
import org.springframework.boot.test.system.OutputCaptureRule;
3737
import org.springframework.context.annotation.Bean;
3838
import org.springframework.context.annotation.ComponentScan;
3939
import org.springframework.context.annotation.Configuration;
@@ -77,7 +77,7 @@ public class UserHistoryControllerIntTests {
7777
@Autowired
7878
private UserHistoryService userHistoryService;
7979
@Rule
80-
public OutputCapture output = new OutputCapture();
80+
public OutputCaptureRule output = new OutputCaptureRule();
8181
@Autowired
8282
private JdbcTemplate jdbcTemplate;
8383

src/test/java/app/myoss/cloud/mybatis/test/integration/h2/test3/UserLogControllerIntTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
import org.springframework.beans.factory.annotation.Autowired;
3434
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
3535
import org.springframework.boot.test.context.SpringBootTest;
36-
import org.springframework.boot.test.rule.OutputCapture;
36+
import org.springframework.boot.test.system.OutputCaptureRule;
3737
import org.springframework.context.annotation.Bean;
3838
import org.springframework.context.annotation.ComponentScan;
3939
import org.springframework.context.annotation.Configuration;
@@ -78,7 +78,7 @@ public class UserLogControllerIntTests {
7878
@Autowired
7979
private UserLogService userLogService;
8080
@Rule
81-
public OutputCapture output = new OutputCapture();
81+
public OutputCaptureRule output = new OutputCaptureRule();
8282
@Autowired
8383
private JdbcTemplate jdbcTemplate;
8484

src/test/java/app/myoss/cloud/mybatis/test/integration/h2/test4/SysUserLogControllerIntTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
import org.springframework.beans.factory.annotation.Autowired;
3939
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
4040
import org.springframework.boot.test.context.SpringBootTest;
41-
import org.springframework.boot.test.rule.OutputCapture;
41+
import org.springframework.boot.test.system.OutputCaptureRule;
4242
import org.springframework.context.annotation.Bean;
4343
import org.springframework.context.annotation.ComponentScan;
4444
import org.springframework.context.annotation.Configuration;
@@ -90,7 +90,7 @@ public class SysUserLogControllerIntTests {
9090
@Autowired
9191
private SysUserLogMapper userLogMapper;
9292
@Rule
93-
public OutputCapture output = new OutputCapture();
93+
public OutputCaptureRule output = new OutputCaptureRule();
9494
@Autowired
9595
private JdbcTemplate jdbcTemplate;
9696

src/test/resources/scripts/h2/1-init-schema.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ CREATE TABLE IF NOT EXISTS `t_sys_user` (
3131
`modifier` varchar(32) NOT NULL COMMENT '修改者',
3232
`gmt_created` datetime NOT NULL COMMENT '创建时间',
3333
`gmt_modified` datetime NOT NULL COMMENT '修改时间',
34-
PRIMARY KEY (`id`),
34+
PRIMARY KEY (`id`)
3535
);
3636

3737
COMMENT ON TABLE `t_sys_user` IS '系统用户信息表';
@@ -60,7 +60,7 @@ CREATE TABLE IF NOT EXISTS `t_sys_user_history` (
6060
`modifier` varchar(32) NOT NULL COMMENT '修改者',
6161
`gmt_created` datetime NOT NULL COMMENT '创建时间',
6262
`gmt_modified` datetime NOT NULL COMMENT '修改时间',
63-
PRIMARY KEY (`id`),
63+
PRIMARY KEY (`id`)
6464
);
6565

6666
COMMENT ON TABLE `t_sys_user_history` IS '系统用户信息历史备份表';
@@ -74,7 +74,7 @@ CREATE TABLE IF NOT EXISTS `t_sys_user_log` (
7474
`modifier` varchar(32) NOT NULL COMMENT '修改者',
7575
`gmt_created` datetime NOT NULL COMMENT '创建时间',
7676
`gmt_modified` datetime NOT NULL COMMENT '修改时间',
77-
PRIMARY KEY (`id`),
77+
PRIMARY KEY (`id`)
7878
);
7979

8080
COMMENT ON TABLE `t_sys_user_log` IS '系统用户日志记录表';

0 commit comments

Comments
 (0)