Skip to content

Commit

Permalink
Fix broken ElementCall UI test, add missing deviceID to the ClientPro…
Browse files Browse the repository at this point in the history
…xyMock
  • Loading branch information
stefanceriu committed Jul 19, 2024
1 parent f1de42a commit 3e005c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ElementX/Sources/UITests/UITestsAppCoordinator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ class MockScreen: Identifiable {
appSettings.analyticsConsentState = .optedOut
let navigationSplitCoordinator = NavigationSplitCoordinator(placeholderCoordinator: PlaceholderScreenCoordinator())

let clientProxy = ClientProxyMock(.init(userID: "@mock:client.com", roomSummaryProvider: RoomSummaryProviderMock(.init(state: .loaded(.mockRooms)))))
let clientProxy = ClientProxyMock(.init(userID: "@mock:client.com", deviceID: "MOCKCLIENT", roomSummaryProvider: RoomSummaryProviderMock(.init(state: .loaded(.mockRooms)))))
ServiceLocator.shared.settings.migratedAccounts[clientProxy.userID] = true

let appMediator = AppMediatorMock.default
Expand Down

0 comments on commit 3e005c8

Please sign in to comment.