Make LogoutUseCase.logout return the result of the SDK method.

This commit is contained in:
Benoit Marty
2024-08-29 11:47:22 +02:00
parent 76a3ef9353
commit 329c0670ed
5 changed files with 10 additions and 9 deletions

View File

@@ -106,7 +106,7 @@ class PinUnlockPresenterTest {
@Test
fun `present - forgot pin flow`() = runTest {
val signOutLambda = lambdaRecorder<Boolean, String> { "" }
val signOutLambda = lambdaRecorder<Boolean, String?> { "" }
val signOut = FakeLogoutUseCase(signOutLambda)
val presenter = createPinUnlockPresenter(this, logoutUseCase = signOut)
moleculeFlow(RecompositionMode.Immediate) {