Clean up null-ability of incoming message entity fields

This commit is contained in:
Chris Eager authored and Chris Eager committed 2022-02-17 13:23:48 -08:00
1 parent ba5e5a780f
commit 288cbf4a80
3 files changed
+18 -32

No files matched your search

@@ -646,7 +646,8 @@ class MessageControllerTest {
try {
return Stream.of(
Entity.entity(new IncomingMessageList(
List.of(new IncomingMessage(1, null, 1L, null, new String(contentBytes), null, null, null)), null, null),
List.of(new IncomingMessage(1, null, 1L, 1, new String(contentBytes), null, null)), false,
System.currentTimeMillis()),
MediaType.APPLICATION_JSON_TYPE),
Entity.entity(messageStream.toByteArray(), MultiDeviceMessageListProvider.MEDIA_TYPE)
);