mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Fix a potential bug where the token couldn't be refreshed when the cached server /versions had expired. (#4687)
* Update SDK mocks for UniFFI 0.30.0 * Update the SDK. * Update the SDK again Includes a temporary workaround that patches the SDK's generated Swift files so that our tests don't crash: https://github.com/element-hq/matrix-rust-components-swift/commit/3f0075fb8acaf202755512dfbafc28024e5125b2
This commit is contained in:
@@ -106,7 +106,7 @@ final class RoomSummaryProviderTests: XCTestCase {
|
||||
dynamicAdaptersResult.controllerReturnValue = dynamicEntriesController
|
||||
roomList = RoomListSDKMock()
|
||||
roomList.entriesWithDynamicAdaptersWithPageSizeEnableLatestEventSorterListenerReturnValue = dynamicAdaptersResult
|
||||
roomList.loadingStateListenerReturnValue = .some(.init(state: .notLoaded, stateStream: .init(noPointer: .init())))
|
||||
roomList.loadingStateListenerReturnValue = .some(.init(state: .notLoaded, stateStream: .init(noHandle: .init())))
|
||||
roomSummaryProvider.setRoomList(roomList)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user