mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
Attempt to fix test on CI.
The test is failing on CI with this error: expected instance of: io.element.android.libraries.architecture.Async$Success but was instance of : io.element.android.libraries.architecture.Async$Loading with value : Loading(prevData=null)
This commit is contained in:
committed by
Jorge Martín
parent
a8b0256386
commit
b9b746bea7
+1
-1
@@ -72,7 +72,7 @@ class FakeEncryptionService : EncryptionService {
|
||||
this.isLastDevice = isLastDevice
|
||||
}
|
||||
|
||||
override suspend fun isLastDevice(): Result<Boolean> {
|
||||
override suspend fun isLastDevice(): Result<Boolean> = simulateLongTask {
|
||||
return Result.success(isLastDevice)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user