Revert "Merge pull request #2071 from element-hq/feature/bma/fixTests"
This reverts commite49c73188d, reversing changes made toba04bbc5ca.
This commit is contained in:
@@ -71,7 +71,7 @@ class LogoutPresenterTest {
|
||||
moleculeFlow(RecompositionMode.Immediate) {
|
||||
presenter.present()
|
||||
}.test {
|
||||
skipItems(3)
|
||||
skipItems(1)
|
||||
val initialState = awaitItem()
|
||||
assertThat(initialState.isLastSession).isTrue()
|
||||
assertThat(initialState.backupUploadState).isEqualTo(BackupUploadState.Unknown)
|
||||
|
||||
@@ -72,7 +72,7 @@ class FakeEncryptionService : EncryptionService {
|
||||
this.isLastDevice = isLastDevice
|
||||
}
|
||||
|
||||
override suspend fun isLastDevice(): Result<Boolean> = simulateLongTask {
|
||||
override suspend fun isLastDevice(): Result<Boolean> {
|
||||
return Result.success(isLastDevice)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user