Fix StreamFunctionAdapterTests and StreamMessageOperatorsTests

This commit is contained in:
Jonatan Ivanov
2021-11-22 15:17:16 -08:00
parent eab9079e9b
commit b718d1130f
2 changed files with 2 additions and 2 deletions

View File

@@ -63,7 +63,7 @@ public class StreamFunctionAdapterTests {
Message<byte[]> message = this.outputDestination.receive(200L);
assertThat(message).isNotNull();
assertThat(message.getPayload()).isEqualTo("HELLO".getBytes());
assertThat(message.getPayload()).isEqualTo("\"HELLO\"".getBytes());
String b3 = message.getHeaders().get("b3", String.class);
assertThat(b3).startsWith("4883117762eb9420");

View File

@@ -68,7 +68,7 @@ public class StreamMessageOperatorsTests {
Message<byte[]> message = this.outputDestination.receive(200L);
assertThat(message).isNotNull();
assertThat(message.getPayload()).isEqualTo("HELLO".getBytes());
assertThat(message.getPayload()).isEqualTo("\"HELLO\"".getBytes());
String b3 = message.getHeaders().get("b3", String.class);
assertThat(b3).startsWith("4883117762eb9420");