Fix failing test
This commit is contained in:
parent
46c0e45130
commit
f636ccb5eb
|
@ -74,7 +74,7 @@ public class SimpMessagingTemplateTests {
|
|||
|
||||
@Test
|
||||
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);
|
||||
|
||||
List<Message<byte[]>> messages = this.messageChannel.getMessages();
|
||||
|
|
Loading…
Reference in New Issue