mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-16 06:28:27 +02:00
Fix tests missing data source parameter
This commit is contained in:
@@ -93,7 +93,7 @@ private final class StubMXKRoomDataSource: MXKRoomDataSource {
|
||||
private final class FakeMXKRoomDataSource: MXKRoomDataSource {
|
||||
|
||||
class func make() throws -> FakeMXKRoomDataSource {
|
||||
let dataSource = try XCTUnwrap(FakeMXKRoomDataSource(roomId: "!foofoofoofoofoofoo:matrix.org", andMatrixSession: nil))
|
||||
let dataSource = try XCTUnwrap(FakeMXKRoomDataSource(roomId: "!foofoofoofoofoofoo:matrix.org", andMatrixSession: nil, threadId: nil))
|
||||
dataSource.registerCellDataClass(CollapsibleBubbleCellData.self, forCellIdentifier: kMXKRoomBubbleCellDataIdentifier)
|
||||
dataSource.eventFormatter = CountingEventFormatter(matrixSession: nil)
|
||||
return dataSource
|
||||
|
||||
Reference in New Issue
Block a user