refactor(消息管理): 增加获取模版详情的接口
This commit is contained in:
parent
68ead1abfa
commit
2c5e90bfab
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue