mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-28 10:09:10 +00:00
Fix failing test
This commit is contained in:
+1
-1
@@ -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