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
18 changed files with 463 additions and 92 deletions
@@ -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)
}