quick format
This commit is contained in:
parent
8077406cba
commit
7d5570fd6f
@ -104,7 +104,6 @@ class KeysBackupTest : InstrumentedTest {
|
|||||||
@Test
|
@Test
|
||||||
fun prepareKeysBackupVersionTest() {
|
fun prepareKeysBackupVersionTest() {
|
||||||
val testHelper = CommonTestHelper(context())
|
val testHelper = CommonTestHelper(context())
|
||||||
val cryptoTestHelper = CryptoTestHelper(testHelper)
|
|
||||||
|
|
||||||
val bobSession = testHelper.createAccount(TestConstants.USER_BOB, KeysBackupTestConstants.defaultSessionParams)
|
val bobSession = testHelper.createAccount(TestConstants.USER_BOB, KeysBackupTestConstants.defaultSessionParams)
|
||||||
|
|
||||||
@ -168,7 +167,7 @@ class KeysBackupTest : InstrumentedTest {
|
|||||||
keysBackup.getKeysBackupTrust(versionResult!!, it)
|
keysBackup.getKeysBackupTrust(versionResult!!, it)
|
||||||
}
|
}
|
||||||
|
|
||||||
assertEquals("Should have 2 signatures", 2, trust.signatures.size)
|
assertEquals("Should have 2 signatures", 2, trust.signatures.size)
|
||||||
|
|
||||||
trust.signatures
|
trust.signatures
|
||||||
.firstOrNull { it is KeysBackupVersionTrustSignature.DeviceSignature }
|
.firstOrNull { it is KeysBackupVersionTrustSignature.DeviceSignature }
|
||||||
|
Loading…
Reference in New Issue
Block a user