|
@@ -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");
|