Expect the userId from the fakeSession

This commit is contained in:
Benoit Marty 2022-09-26 16:41:19 +02:00 committed by Benoit Marty
parent cfca776d01
commit 37f34dbdfd

View file

@ -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()