Quellcode durchsuchen

feature(GM单元测试): GM单元测试

GM单元测试
mazq vor 4 Jahren
Ursprung
Commit
032c6cba11
2 geänderte Dateien mit 5 neuen und 22 gelöschten Zeilen
  1. 5 8
      dcuc-duceap-service/pom.xml
  2. 0 14
      pom.xml

+ 5 - 8
dcuc-duceap-service/pom.xml

@@ -128,17 +128,14 @@
             <groupId>com.dragoninfo</groupId>
             <artifactId>dcuc-common</artifactId>
         </dependency>
+        <!-- 国密加密工具 -->
+        <!-- 单元测试 -->
         <dependency>
-            <groupId>org.springframework</groupId>
-            <artifactId>spring-test</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-test</artifactId>
             <scope>test</scope>
         </dependency>
-        <!-- 国密加密工具 -->
+        <!-- 单元测试 -->
     </dependencies>
     <profiles>
         <profile>

+ 0 - 14
pom.xml

@@ -86,20 +86,6 @@
                 <artifactId>dcuc-common</artifactId>
                 <version>2.0.0-SNAPSHOT</version>
             </dependency>
-            <!-- 单元测试 -->
-            <dependency>
-                <groupId>org.springframework</groupId>
-                <artifactId>spring-test</artifactId>
-                <version>5.2.7.RELEASE</version>
-                <scope>test</scope>
-            </dependency>
-            <dependency>
-                <groupId>junit</groupId>
-                <artifactId>junit</artifactId>
-                <version>4.12</version>
-                <scope>test</scope>
-            </dependency>
-            <!-- 单元测试 -->
         </dependencies>
     </dependencyManagement>