Make LogoutUseCase.logout return the result of the SDK method.
This commit is contained in:
parent
004679cbc4
commit
1026a296e3
5 changed files with 10 additions and 9 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue