mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Switch to using proper SDK Mocks everywhere.
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
|
||||
import Foundation
|
||||
import MatrixRustSDK
|
||||
import MatrixRustSDKMocks
|
||||
|
||||
/// A light wrapper around timeline items returned from Rust.
|
||||
enum TimelineItemProxy {
|
||||
@@ -204,7 +205,7 @@ struct SendHandleProxy: Hashable {
|
||||
static var mock: SendHandleProxy {
|
||||
.init(itemID: .event(uniqueID: .init(UUID().uuidString),
|
||||
eventOrTransactionID: .eventID(UUID().uuidString)),
|
||||
underlyingHandle: .init(noHandle: .init()))
|
||||
underlyingHandle: SendHandleSDKMock())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user