mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:31:27 +00:00
Replace the existing RoomSummaryProviderMock with a generated one
This commit is contained in:
committed by
Stefan Ceriu
parent
5f0c782ce2
commit
932ba75550
@@ -98,7 +98,7 @@ class InvitesScreenViewModelTests: XCTestCase {
|
||||
|
||||
private func setupViewModel(roomSummaries: [RoomSummary]? = nil) {
|
||||
if let roomSummaries {
|
||||
let summaryProvider = MockRoomSummaryProvider(state: .loaded(roomSummaries))
|
||||
let summaryProvider = RoomSummaryProviderMock(.init(state: .loaded(roomSummaries)))
|
||||
clientProxy.inviteSummaryProvider = summaryProvider
|
||||
clientProxy.roomSummaryProvider = summaryProvider
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user