Merge pull request #2071 from element-hq/feature/bma/fixTests

Attempt to fix test on CI.
This commit is contained in:
Benoit Marty 2023-12-20 17:31:00 +01:00 committed by GitHub
commit 19edf067fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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)
}