mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-28 23:32:41 +00:00
Fix tests missing data source parameter
This commit is contained in:
parent
ccb8845e38
commit
84975deec7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue