Fixing a name of a mocked component
This commit is contained in:
parent
a3df90ae3e
commit
e0d511a488
|
@ -71,7 +71,7 @@ class OtherSessionsViewModelTest {
|
||||||
private val fakeActiveSessionHolder = FakeActiveSessionHolder()
|
private val fakeActiveSessionHolder = FakeActiveSessionHolder()
|
||||||
private val fakeStringProvider = FakeStringProvider()
|
private val fakeStringProvider = FakeStringProvider()
|
||||||
private val fakeGetDeviceFullInfoListUseCase = mockk<GetDeviceFullInfoListUseCase>()
|
private val fakeGetDeviceFullInfoListUseCase = mockk<GetDeviceFullInfoListUseCase>()
|
||||||
private val fakeRefreshDevicesUseCaseUseCase = mockk<RefreshDevicesUseCase>(relaxed = true)
|
private val fakeRefreshDevicesUseCase = mockk<RefreshDevicesUseCase>(relaxed = true)
|
||||||
private val fakeSignoutSessionsUseCase = FakeSignoutSessionsUseCase()
|
private val fakeSignoutSessionsUseCase = FakeSignoutSessionsUseCase()
|
||||||
private val fakeInterceptSignoutFlowResponseUseCase = mockk<InterceptSignoutFlowResponseUseCase>()
|
private val fakeInterceptSignoutFlowResponseUseCase = mockk<InterceptSignoutFlowResponseUseCase>()
|
||||||
private val fakePendingAuthHandler = FakePendingAuthHandler()
|
private val fakePendingAuthHandler = FakePendingAuthHandler()
|
||||||
|
@ -85,7 +85,7 @@ class OtherSessionsViewModelTest {
|
||||||
signoutSessionsUseCase = fakeSignoutSessionsUseCase.instance,
|
signoutSessionsUseCase = fakeSignoutSessionsUseCase.instance,
|
||||||
interceptSignoutFlowResponseUseCase = fakeInterceptSignoutFlowResponseUseCase,
|
interceptSignoutFlowResponseUseCase = fakeInterceptSignoutFlowResponseUseCase,
|
||||||
pendingAuthHandler = fakePendingAuthHandler.instance,
|
pendingAuthHandler = fakePendingAuthHandler.instance,
|
||||||
refreshDevicesUseCase = fakeRefreshDevicesUseCaseUseCase,
|
refreshDevicesUseCase = fakeRefreshDevicesUseCase,
|
||||||
)
|
)
|
||||||
|
|
||||||
@Before
|
@Before
|
||||||
|
@ -352,7 +352,7 @@ class OtherSessionsViewModelTest {
|
||||||
.assertEvent { it is OtherSessionsViewEvents.SignoutSuccess }
|
.assertEvent { it is OtherSessionsViewEvents.SignoutSuccess }
|
||||||
.finish()
|
.finish()
|
||||||
verify {
|
verify {
|
||||||
fakeRefreshDevicesUseCaseUseCase.execute()
|
fakeRefreshDevicesUseCase.execute()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -388,7 +388,7 @@ class OtherSessionsViewModelTest {
|
||||||
.assertEvent { it is OtherSessionsViewEvents.SignoutSuccess }
|
.assertEvent { it is OtherSessionsViewEvents.SignoutSuccess }
|
||||||
.finish()
|
.finish()
|
||||||
verify {
|
verify {
|
||||||
fakeRefreshDevicesUseCaseUseCase.execute()
|
fakeRefreshDevicesUseCase.execute()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue