mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Periphery cleanup (#5893)
This commit is contained in:
@@ -170,8 +170,7 @@ final class InviteUsersScreenViewModelTests {
|
||||
roomType: .draft(mandatoryInvitees: [.mockAlice]),
|
||||
isSkippable: false,
|
||||
userDiscoveryService: userDiscoveryService,
|
||||
userIndicatorController: UserIndicatorControllerMock(),
|
||||
appSettings: .volatile())
|
||||
userIndicatorController: UserIndicatorControllerMock())
|
||||
|
||||
// The locked invitee starts pre-selected and locked.
|
||||
#expect(context.viewState.selectedUsers.map(\.id) == [UserProfile.mockAlice.id])
|
||||
@@ -235,8 +234,7 @@ final class InviteUsersScreenViewModelTests {
|
||||
roomType: .existingRoom(roomProxy: roomProxy),
|
||||
isSkippable: isSkippable,
|
||||
userDiscoveryService: userDiscoveryService,
|
||||
userIndicatorController: UserIndicatorControllerMock(),
|
||||
appSettings: .volatile())
|
||||
userIndicatorController: UserIndicatorControllerMock())
|
||||
viewModel.state.usersSection = .init(type: .suggestions, users: [.mockAlice, .mockBob, .mockCharlie])
|
||||
self.viewModel = viewModel
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user