diff --git a/springboot-mybatis/src/main/resources/sql/schema.sql b/springboot-mybatis/src/main/resources/sql/schema.sql
index 9b7a571..68bd392 100644
--- a/springboot-mybatis/src/main/resources/sql/schema.sql
+++ b/springboot-mybatis/src/main/resources/sql/schema.sql
@@ -1,6 +1,6 @@
-# CREATE DATABASE IF NOT EXISTS pos default charset utf8 COLLATE utf8_general_ci;
-# SET FOREIGN_KEY_CHECKS=0;
-# USE pos;
+CREATE DATABASE IF NOT EXISTS pos default charset utf8 COLLATE utf8_general_ci;
+SET FOREIGN_KEY_CHECKS=0;
+USE pos;
-- 用户表
DROP TABLE IF EXISTS `t_user`;
diff --git a/springboot-restful/pom.xml b/springboot-restful/pom.xml
index ca7c97f..6bbd768 100644
--- a/springboot-restful/pom.xml
+++ b/springboot-restful/pom.xml
@@ -15,7 +15,7 @@
org.springframework.boot
spring-boot-starter-parent
- 2.0.4.RELEASE
+ 2.5.5
@@ -28,16 +28,6 @@
org.springframework.boot
spring-boot-starter-web
-
-
- org.springframework.boot
- spring-boot-starter-tomcat
-
-
-
-
- org.springframework.boot
- spring-boot-starter-jetty
org.springframework.boot
diff --git a/springboot-restful/src/test/java/com/xncoding/pos/ApplicationTests.java b/springboot-restful/src/test/java/com/xncoding/pos/ApplicationTests.java
index a1d41aa..0e93fba 100644
--- a/springboot-restful/src/test/java/com/xncoding/pos/ApplicationTests.java
+++ b/springboot-restful/src/test/java/com/xncoding/pos/ApplicationTests.java
@@ -4,11 +4,13 @@
import com.xncoding.pos.model.BaseResponse;
import com.xncoding.pos.model.User;
import com.xncoding.pos.util.JacksonUtil;
-import org.junit.Test;
-import org.junit.runner.RunWith;
+
+import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.extension.ExtendWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc;
import org.springframework.boot.test.context.SpringBootTest;
+import org.springframework.test.context.junit.jupiter.SpringExtension;
import org.springframework.test.context.junit4.SpringRunner;
import org.springframework.test.web.servlet.MockMvc;
import org.springframework.test.web.servlet.MvcResult;
@@ -38,7 +40,7 @@
*/
@AutoConfigureMockMvc
-@RunWith(SpringRunner.class)
+@ExtendWith(SpringExtension.class)
@SpringBootTest(classes = Application.class, webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
public class ApplicationTests {
@Autowired