Merge pull request #2413 from element-hq/feature/bma/unitTests

Add more unit tests
This commit is contained in:
Benoit Marty 2024-02-19 16:15:28 +01:00 committed by GitHub
commit 354e82d489
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 463 additions and 92 deletions

View file

@ -103,6 +103,10 @@ class FakeEncryptionService : EncryptionService {
backupStateStateFlow.emit(state)
}
suspend fun emitRecoveryState(state: RecoveryState) {
recoveryStateStateFlow.emit(state)
}
suspend fun emitEnableRecoveryProgress(state: EnableRecoveryProgress) {
enableRecoveryProgressStateFlow.emit(state)
}