diff --git a/backend/services/bug-management/src/test/java/io/metersphere/bug/controller/BugControllerTests.java b/backend/services/bug-management/src/test/java/io/metersphere/bug/controller/BugControllerTests.java index 04811b0ac3..6a1810b356 100644 --- a/backend/services/bug-management/src/test/java/io/metersphere/bug/controller/BugControllerTests.java +++ b/backend/services/bug-management/src/test/java/io/metersphere/bug/controller/BugControllerTests.java @@ -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