Match random capability generation in test

This commit is contained in:
Ehren Kret 2021-06-21 14:20:17 -05:00
parent d8d94407c6
commit 982d122d18
1 changed files with 1 additions and 1 deletions

View File

@ -318,7 +318,7 @@ public class AccountsTest {
SignedPreKey signedPreKey = new SignedPreKey(random.nextInt(), "testPublicKey-" + random.nextInt(), "testSignature-" + random.nextInt());
return new Device(id, "testName-" + random.nextInt(), "testAuthToken-" + random.nextInt(), "testSalt-" + random.nextInt(),
"testGcmId-" + random.nextInt(), "testApnId-" + random.nextInt(), "testVoipApnId-" + random.nextInt(), random.nextBoolean(), random.nextInt(), signedPreKey, random.nextInt(), random.nextInt(), "testUserAgent-" + random.nextInt() , 0, new Device.DeviceCapabilities(random.nextBoolean(), random.nextBoolean(), random.nextBoolean(), random.nextBoolean(), random.nextBoolean(), random.nextBoolean(),
false, false));
random.nextBoolean(), random.nextBoolean()));
}
private Account generateAccount(String number, UUID uuid) {