mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Replace the existing RoomSummaryProviderMock with a generated one
This commit is contained in:
committed by
Stefan Ceriu
parent
5f0c782ce2
commit
932ba75550
@@ -27,7 +27,7 @@ class GlobalSearchScreenViewModelTests: XCTestCase {
|
||||
|
||||
override func setUpWithError() throws {
|
||||
cancellables.removeAll()
|
||||
viewModel = GlobalSearchScreenViewModel(roomSummaryProvider: MockRoomSummaryProvider(state: .loaded(.mockRooms)),
|
||||
viewModel = GlobalSearchScreenViewModel(roomSummaryProvider: RoomSummaryProviderMock(.init(state: .loaded(.mockRooms))),
|
||||
imageProvider: MockMediaProvider())
|
||||
context = viewModel.context
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user