mirror of
https://github.com/element-hq/element-x-ios.git
synced 2025-03-10 21:39:12 +00:00
Update SDK to 1.0.75-alpha (#1075)
* Update SDK to 1.0.75-alpha * Fix mocks
This commit is contained in:
parent
09ed9ddff5
commit
1c2964c86d
@ -4856,7 +4856,7 @@
|
||||
repositoryURL = "https://github.com/matrix-org/matrix-rust-components-swift";
|
||||
requirement = {
|
||||
kind = exactVersion;
|
||||
version = "1.0.74-alpha";
|
||||
version = "1.0.75-alpha";
|
||||
};
|
||||
};
|
||||
96495DD8554E2F39D3954354 /* XCRemoteSwiftPackageReference "posthog-ios" */ = {
|
||||
|
@ -102,8 +102,8 @@
|
||||
"kind" : "remoteSourceControl",
|
||||
"location" : "https://github.com/matrix-org/matrix-rust-components-swift",
|
||||
"state" : {
|
||||
"revision" : "97a5fcc18cc201ee97239a76c1556dcbd0ff27fa",
|
||||
"version" : "1.0.74-alpha"
|
||||
"revision" : "c6e794f305a34453ed081be131b2eea719154bc5",
|
||||
"version" : "1.0.75-alpha"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -421,6 +421,27 @@ class SDKClientMock: SDKClientProtocol {
|
||||
return roomsReturnValue
|
||||
}
|
||||
}
|
||||
//MARK: - `roomList`
|
||||
|
||||
public var roomListThrowableError: Error?
|
||||
public var roomListCallsCount = 0
|
||||
public var roomListCalled: Bool {
|
||||
return roomListCallsCount > 0
|
||||
}
|
||||
public var roomListReturnValue: RoomList!
|
||||
public var roomListClosure: (() throws -> RoomList)?
|
||||
|
||||
public func `roomList`() throws -> RoomList {
|
||||
if let error = roomListThrowableError {
|
||||
throw error
|
||||
}
|
||||
roomListCallsCount += 1
|
||||
if let roomListClosure = roomListClosure {
|
||||
return try roomListClosure()
|
||||
} else {
|
||||
return roomListReturnValue
|
||||
}
|
||||
}
|
||||
//MARK: - `searchUsers`
|
||||
|
||||
public var searchUsersSearchTermLimitThrowableError: Error?
|
||||
|
@ -44,7 +44,7 @@ include:
|
||||
packages:
|
||||
MatrixRustSDK:
|
||||
url: https://github.com/matrix-org/matrix-rust-components-swift
|
||||
exactVersion: 1.0.74-alpha
|
||||
exactVersion: 1.0.75-alpha
|
||||
# path: ../matrix-rust-sdk
|
||||
DesignKit:
|
||||
path: DesignKit
|
||||
|
Loading…
x
Reference in New Issue
Block a user