소스 검색

mvn skip test

deason 5 년 전
부모
커밋
1da5d8efeb

+ 8 - 0
examcloud-core-print-starter/pom.xml

@@ -70,6 +70,14 @@
                     <skip>true</skip>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <configuration>
+                    <skip>true</skip>
+                    <skipTests>true</skipTests>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 </project>

+ 4 - 2
examcloud-core-print-starter/src/test/java/cn/com/qmth/examcloud/core/print/test/ProjectSettingServiceTest.java

@@ -12,6 +12,8 @@ import cn.com.qmth.examcloud.core.print.entity.ProjectOtherSetting;
 import cn.com.qmth.examcloud.core.print.enums.BackupGroupType;
 import cn.com.qmth.examcloud.core.print.service.ProjectBackupSettingService;
 import cn.com.qmth.examcloud.core.print.service.ProjectOtherSettingService;
+import cn.com.qmth.examcloud.core.print.service.bean.printingproject.ProjectBackupSettingInfo;
+import cn.com.qmth.examcloud.core.print.service.bean.printingproject.ProjectOtherSettingInfo;
 import org.junit.Test;
 import org.springframework.beans.factory.annotation.Autowired;
 
@@ -30,7 +32,7 @@ public class ProjectSettingServiceTest extends BaseTest {
 
     @Test
     public void saveProjectBackupSettingTest() throws Exception {
-        ProjectBackupSetting setting = new ProjectBackupSetting();
+        ProjectBackupSettingInfo setting = new ProjectBackupSettingInfo();
         setting.setProjectId(projectId);
 
         setting.setNeedEachPkg(true);
@@ -59,7 +61,7 @@ public class ProjectSettingServiceTest extends BaseTest {
 
     @Test
     public void saveProjectOtherSettingTest() throws Exception {
-        ProjectOtherSetting setting = new ProjectOtherSetting();
+        ProjectOtherSettingInfo setting = new ProjectOtherSettingInfo();
         setting.setId(1L);
         setting.setProjectId(projectId);
         setting.setRemark("test");