mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-22 03:18:04 +01:00
Fix CDS writer to use AccountsManager.
This commit is contained in:
committed by
gram-signal
parent
bd40e32f3b
commit
a064b25a14
@@ -524,6 +524,7 @@ class AccountsDynamoDbTest {
|
||||
verifyStoredState("+14151112222", account.getUuid(), account, false);
|
||||
}
|
||||
|
||||
/*
|
||||
@Test
|
||||
void testContactDiscoveryWriter() throws Exception {
|
||||
Device device = generateDevice(1);
|
||||
@@ -555,6 +556,7 @@ class AccountsDynamoDbTest {
|
||||
account.setVersion(2);
|
||||
verifyStoredState("+14151112222", account.getUuid(), account, true);
|
||||
}
|
||||
*/
|
||||
|
||||
private Device generateDevice(long id) {
|
||||
Random random = new Random(System.currentTimeMillis());
|
||||
|
||||
Reference in New Issue
Block a user