Add missing image provider to RoomChangeRolesScreenViewModel. (#2715)

* Add an assertion for a missing image provider.

* Pass an image provider to RoomChangeRolesScreenViewModel.

* Update snapshots.
This commit is contained in:
Doug
2024-04-19 11:56:41 +01:00
committed by GitHub
parent 8ef6fee95f
commit b5f1d5947b
25 changed files with 52 additions and 25 deletions
@@ -205,6 +205,7 @@ class RoomChangeRolesScreenViewModelTests: XCTestCase {
roomProxy = RoomProxyMock(with: .init(members: .allMembersAsAdmin))
viewModel = RoomChangeRolesScreenViewModel(mode: mode,
roomProxy: roomProxy,
mediaProvider: MockMediaProvider(),
userIndicatorController: UserIndicatorControllerMock(),
analytics: ServiceLocator.shared.analytics)
}