mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Bump the RustSDK to v1.0.53: adopt latest record based timeline item APIs (#3356)
This commit is contained in:
@@ -35,7 +35,12 @@ class AutoUpdatingRoomTimelineProviderMock: RoomTimelineProvider {
|
||||
|
||||
let diff = TimelineDiffSDKMock()
|
||||
diff.changeReturnValue = .append
|
||||
diff.appendReturnValue = [TimelineItemFixtures.messageTimelineItem]
|
||||
|
||||
let timelineItem = TimelineItemSDKMock()
|
||||
timelineItem.asEventReturnValue = EventTimelineItem.mockMessage
|
||||
timelineItem.uniqueIdReturnValue = UUID().uuidString
|
||||
|
||||
diff.appendReturnValue = [timelineItem]
|
||||
|
||||
await Self.timelineListener?.onUpdate(diff: [diff])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user