diff --git a/backend/services/project-management/src/test/java/io/metersphere/project/controller/NoticeMessageTaskControllerTests.java b/backend/services/project-management/src/test/java/io/metersphere/project/controller/NoticeMessageTaskControllerTests.java index af08514864..45842cd49a 100644 --- a/backend/services/project-management/src/test/java/io/metersphere/project/controller/NoticeMessageTaskControllerTests.java +++ b/backend/services/project-management/src/test/java/io/metersphere/project/controller/NoticeMessageTaskControllerTests.java @@ -493,7 +493,7 @@ public class NoticeMessageTaskControllerTests extends BaseTest { .header(SessionConstants.CSRF_TOKEN, csrfToken) .param("taskType", NoticeConstants.TaskType.API_DEFINITION_TASK) .param("event", NoticeConstants.Event.CREATE) - .param("robotId", "test_message_robot1") + .param("robotId", "test_message_robot2") .contentType(MediaType.APPLICATION_JSON)) .andExpect(status().isOk()) .andExpect(content().contentType(MediaType.APPLICATION_JSON)).andReturn();