mirror of
https://github.com/element-hq/element-android
synced 2024-11-27 03:48:12 +03:00
Fixing a name of a mocked component
This commit is contained in:
parent
a3df90ae3e
commit
e0d511a488
1 changed files with 4 additions and 4 deletions
|
@ -71,7 +71,7 @@ class OtherSessionsViewModelTest {
|
|||
private val fakeActiveSessionHolder = FakeActiveSessionHolder()
|
||||
private val fakeStringProvider = FakeStringProvider()
|
||||
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 fakeInterceptSignoutFlowResponseUseCase = mockk<InterceptSignoutFlowResponseUseCase>()
|
||||
private val fakePendingAuthHandler = FakePendingAuthHandler()
|
||||
|
@ -85,7 +85,7 @@ class OtherSessionsViewModelTest {
|
|||
signoutSessionsUseCase = fakeSignoutSessionsUseCase.instance,
|
||||
interceptSignoutFlowResponseUseCase = fakeInterceptSignoutFlowResponseUseCase,
|
||||
pendingAuthHandler = fakePendingAuthHandler.instance,
|
||||
refreshDevicesUseCase = fakeRefreshDevicesUseCaseUseCase,
|
||||
refreshDevicesUseCase = fakeRefreshDevicesUseCase,
|
||||
)
|
||||
|
||||
@Before
|
||||
|
@ -352,7 +352,7 @@ class OtherSessionsViewModelTest {
|
|||
.assertEvent { it is OtherSessionsViewEvents.SignoutSuccess }
|
||||
.finish()
|
||||
verify {
|
||||
fakeRefreshDevicesUseCaseUseCase.execute()
|
||||
fakeRefreshDevicesUseCase.execute()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -388,7 +388,7 @@ class OtherSessionsViewModelTest {
|
|||
.assertEvent { it is OtherSessionsViewEvents.SignoutSuccess }
|
||||
.finish()
|
||||
verify {
|
||||
fakeRefreshDevicesUseCaseUseCase.execute()
|
||||
fakeRefreshDevicesUseCase.execute()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue