Fix failing test
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user