test(缺陷管理): 覆盖缺陷测试类
This commit is contained in:
parent
0b4e30e651
commit
3fe26e24ae
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue