mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-22 12:18:02 +01:00
Clean up null-ability of incoming message entity fields
This commit is contained in:
@@ -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)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user