提交 f636ccb5 编写于 作者: R Rossen Stoyanchev

Fix failing test

上级 46c0e451
...@@ -74,7 +74,7 @@ public class SimpMessagingTemplateTests { ...@@ -74,7 +74,7 @@ public class SimpMessagingTemplateTests {
@Test @Test
public void convertAndSendWithCustomHeader() { public void convertAndSendWithCustomHeader() {
Map<String, Object> headers = Collections.singletonMap("key", "value"); Map<String, Object> headers = Collections.<String, Object>singletonMap("key", "value");
this.messagingTemplate.convertAndSend("/foo", "data", headers); this.messagingTemplate.convertAndSend("/foo", "data", headers);
List<Message<byte[]>> messages = this.messageChannel.getMessages(); List<Message<byte[]>> messages = this.messageChannel.getMessages();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册