test(缺陷管理): 覆盖缺陷测试类

This commit is contained in:
song-cc-rock 2023-11-24 15:38:23 +08:00
parent 0b4e30e651
commit 3fe26e24ae
1 changed files with 7 additions and 0 deletions

View File

@ -6,6 +6,7 @@ import io.metersphere.bug.dto.request.BugBatchRequest;
import io.metersphere.bug.dto.request.BugBatchUpdateRequest;
import io.metersphere.bug.dto.request.BugEditRequest;
import io.metersphere.bug.dto.request.BugPageRequest;
import io.metersphere.bug.utils.CustomFieldUtils;
import io.metersphere.project.dto.ProjectTemplateOptionDTO;
import io.metersphere.sdk.util.JSON;
import io.metersphere.system.base.BaseTest;
@ -400,6 +401,12 @@ public class BugControllerTests extends BaseTest {
this.requestPost(BUG_BATCH_DELETE, request, status().isOk());
}
@Test
@Order(21)
void coverUtilsTest() throws Exception {
CustomFieldUtils.appendToMultipleCustomField(null, "test");
}
/**
* 生成请求过滤参数
* @return filter param