mirror of
https://github.com/element-hq/element-android
synced 2024-11-24 18:35:40 +03:00
Remove unnecessary non-null assertion
This commit is contained in:
parent
bd5ac514ef
commit
dd150c6d7e
2 changed files with 2 additions and 2 deletions
|
@ -264,7 +264,7 @@ class KeysBackupTest : InstrumentedTest {
|
|||
assertNotNull(decryption)
|
||||
// - Check decryptKeyBackupData() returns stg
|
||||
val sessionData = keysBackup
|
||||
.decryptKeyBackupData(keyBackupData!!,
|
||||
.decryptKeyBackupData(keyBackupData,
|
||||
session.olmInboundGroupSession!!.sessionIdentifier(),
|
||||
cryptoTestData.roomId,
|
||||
decryption!!)
|
||||
|
|
|
@ -111,7 +111,7 @@ class KeysBackupTestHelper(
|
|||
Assert.assertTrue(keysBackup.isEnabled)
|
||||
|
||||
stateObserver.stopAndCheckStates(null)
|
||||
return PrepareKeysBackupDataResult(megolmBackupCreationInfo, keysVersion.version!!)
|
||||
return PrepareKeysBackupDataResult(megolmBackupCreationInfo, keysVersion.version)
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue