refactor(消息管理): 增加获取模版详情的接口

This commit is contained in:
guoyuqi 2023-10-10 14:11:15 +08:00 committed by Yuki Guo
parent 68ead1abfa
commit 2c5e90bfab
1 changed files with 1 additions and 1 deletions

View File

@ -493,7 +493,7 @@ public class NoticeMessageTaskControllerTests extends BaseTest {
.header(SessionConstants.CSRF_TOKEN, csrfToken) .header(SessionConstants.CSRF_TOKEN, csrfToken)
.param("taskType", NoticeConstants.TaskType.API_DEFINITION_TASK) .param("taskType", NoticeConstants.TaskType.API_DEFINITION_TASK)
.param("event", NoticeConstants.Event.CREATE) .param("event", NoticeConstants.Event.CREATE)
.param("robotId", "test_message_robot1") .param("robotId", "test_message_robot2")
.contentType(MediaType.APPLICATION_JSON)) .contentType(MediaType.APPLICATION_JSON))
.andExpect(status().isOk()) .andExpect(status().isOk())
.andExpect(content().contentType(MediaType.APPLICATION_JSON)).andReturn(); .andExpect(content().contentType(MediaType.APPLICATION_JSON)).andReturn();