feat(测试计划): 测试计划跳转时增加归档的处理

This commit is contained in:
Jianguo-Genius 2024-12-19 11:06:55 +08:00 committed by 建国
parent 0f3348c015
commit 1c33b854d9
1 changed files with 2 additions and 2 deletions

View File

@ -1882,8 +1882,8 @@ public class TestPlanControllerTests extends BaseTest {
MvcResult mvcResult = this.requestPostWithOkAndReturn("/test-plan/rage", request);
TestPlanCoverageDTO coverageDTO = this.getResultData(mvcResult, TestPlanCoverageDTO.class);
Assertions.assertEquals(coverageDTO.getUnExecute() + coverageDTO.getExecuted(), coverageDTO.getPassed() + coverageDTO.getNotPassed());
Assertions.assertEquals(coverageDTO.getFinished() + coverageDTO.getRunning() + coverageDTO.getArchived() + coverageDTO.getPrepared(), coverageDTO.getPassed() + coverageDTO.getNotPassed());
Assertions.assertEquals(coverageDTO.getUnExecute() + coverageDTO.getExecuted(), coverageDTO.getPassed() + coverageDTO.getNotPassed() + coverageDTO.getPassed_archived() + coverageDTO.getNotPassed_archived());
Assertions.assertEquals(coverageDTO.getFinished() + coverageDTO.getRunning() + coverageDTO.getArchived() + coverageDTO.getPrepared(), coverageDTO.getPassed() + coverageDTO.getNotPassed() + coverageDTO.getPassed_archived() + coverageDTO.getNotPassed_archived());
}