mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-02 05:46:53 +00:00
Clean up null-ability of incoming message entity fields
This commit is contained in:
1 parent
ba5e5a780f
commit
288cbf4a80
3 files changed
+18
-32
No files matched your search
+2
-1
@@ -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