mirror of
https://github.com/element-hq/element-android
synced 2024-10-04 15:21:33 +00:00
Expect the userId from the fakeSession
This commit is contained in:
parent
cfca776d01
commit
37f34dbdfd
|
@ -687,7 +687,7 @@ class OnboardingViewModelTest {
|
|||
.assertStatesChanges(
|
||||
initialState,
|
||||
{ copy(isLoading = true) },
|
||||
{ copy(isLoading = false, personalizationState = A_HOMESERVER_CAPABILITIES.toPersonalisationState(A_MATRIX_ID, A_USERNAME)) }
|
||||
{ copy(isLoading = false, personalizationState = A_HOMESERVER_CAPABILITIES.toPersonalisationState("@fake:server.fake", A_USERNAME)) }
|
||||
)
|
||||
.assertEvents(OnboardingViewEvents.OnAccountCreated)
|
||||
.finish()
|
||||
|
|
Loading…
Reference in a new issue