mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-23 14:18:00 +01:00
Updates for org.apache.commons.lang3.RandomStringUtils deprecations
This commit is contained in:
@@ -389,7 +389,7 @@ class WebSocketConnectionIntegrationTest {
|
||||
return MessageProtos.Envelope.newBuilder()
|
||||
.setClientTimestamp(timestamp)
|
||||
.setServerTimestamp(timestamp)
|
||||
.setContent(ByteString.copyFromUtf8(RandomStringUtils.randomAlphanumeric(256)))
|
||||
.setContent(ByteString.copyFromUtf8(RandomStringUtils.secure().nextAlphanumeric(256)))
|
||||
.setType(MessageProtos.Envelope.Type.CIPHERTEXT)
|
||||
.setServerGuid(messageGuid.toString())
|
||||
.setDestinationServiceId(UUID.randomUUID().toString())
|
||||
|
||||
Reference in New Issue
Block a user