File tree Expand file tree Collapse file tree 5 files changed +10
-10
lines changed
java/app/myoss/cloud/mybatis/test/integration/h2 Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 3333import org .springframework .beans .factory .annotation .Autowired ;
3434import org .springframework .boot .autoconfigure .jdbc .DataSourceAutoConfiguration ;
3535import org .springframework .boot .test .context .SpringBootTest ;
36- import org .springframework .boot .test .rule . OutputCapture ;
36+ import org .springframework .boot .test .system . OutputCaptureRule ;
3737import org .springframework .context .annotation .Bean ;
3838import org .springframework .context .annotation .ComponentScan ;
3939import 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
Original file line number Diff line number Diff line change 3333import org .springframework .beans .factory .annotation .Autowired ;
3434import org .springframework .boot .autoconfigure .jdbc .DataSourceAutoConfiguration ;
3535import org .springframework .boot .test .context .SpringBootTest ;
36- import org .springframework .boot .test .rule . OutputCapture ;
36+ import org .springframework .boot .test .system . OutputCaptureRule ;
3737import org .springframework .context .annotation .Bean ;
3838import org .springframework .context .annotation .ComponentScan ;
3939import 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
Original file line number Diff line number Diff line change 3838import org .springframework .beans .factory .annotation .Autowired ;
3939import org .springframework .boot .autoconfigure .jdbc .DataSourceAutoConfiguration ;
4040import org .springframework .boot .test .context .SpringBootTest ;
41- import org .springframework .boot .test .rule . OutputCapture ;
41+ import org .springframework .boot .test .system . OutputCaptureRule ;
4242import org .springframework .context .annotation .Bean ;
4343import org .springframework .context .annotation .ComponentScan ;
4444import 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
Original file line number Diff line number Diff 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
3737COMMENT 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
6666COMMENT 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
8080COMMENT ON TABLE `t_sys_user_log` IS ' 系统用户日志记录表' ;
You can’t perform that action at this time.
0 commit comments