mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-19 04:38:44 +03:00
revert as kotlin crypto specific test
This commit is contained in:
parent
438b0a69ea
commit
8f1bbd6ff0
1 changed files with 2 additions and 5 deletions
|
@ -94,9 +94,7 @@ class UnwedgingTest : InstrumentedTest {
|
|||
val bobSession = cryptoTestData.secondSession!!
|
||||
|
||||
val aliceCryptoStore = (aliceSession.cryptoService() as DefaultCryptoService).cryptoStoreForTesting
|
||||
|
||||
// bobSession.cryptoService().setWarnOnUnknownDevices(false)
|
||||
// aliceSession.cryptoService().setWarnOnUnknownDevices(false)
|
||||
val olmDevice = (aliceSession.cryptoService() as DefaultCryptoService).olmDeviceForTest
|
||||
|
||||
val roomFromBobPOV = bobSession.getRoom(aliceRoomId)!!
|
||||
val roomFromAlicePOV = aliceSession.getRoom(aliceRoomId)!!
|
||||
|
@ -146,8 +144,7 @@ class UnwedgingTest : InstrumentedTest {
|
|||
OlmSessionWrapper(deserializeFromRealm<OlmSession>(oldSession)!!),
|
||||
bobSession.cryptoService().getMyCryptoDevice().identityKey()!!
|
||||
)
|
||||
// TODO mmm we can't do that with rust
|
||||
// olmDevice.clearOlmSessionCache()
|
||||
olmDevice.clearOlmSessionCache()
|
||||
|
||||
// Force new session, and key share
|
||||
aliceSession.cryptoService().discardOutboundSession(roomFromAlicePOV.roomId)
|
||||
|
|
Loading…
Add table
Reference in a new issue