mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Bump the RustSDK to v25.01.15 and fix (most) concurrency sendability warnings in the generated mocks.
This commit is contained in:
committed by
Stefan Ceriu
parent
e3ad925285
commit
0bcc59ae0a
@@ -73,7 +73,7 @@ final class MediaProviderTests: XCTestCase {
|
||||
}
|
||||
|
||||
func test_whenImageFromSourceWithSourceNil_nilReturned() throws {
|
||||
let image = try mediaProvider.imageFromSource(nil, size: Avatars.Size.room(on: .timeline).scaledSize)
|
||||
let image = mediaProvider.imageFromSource(nil, size: Avatars.Size.room(on: .timeline).scaledSize)
|
||||
XCTAssertNil(image)
|
||||
}
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
@testable import Kingfisher
|
||||
import UIKit
|
||||
|
||||
class MockImageCache: ImageCache {
|
||||
class MockImageCache: ImageCache, @unchecked Sendable {
|
||||
var retrievedImagesInMemory = [String: UIImage]()
|
||||
var retrievedImages = [String: UIImage]()
|
||||
var storedImages = [String: UIImage]()
|
||||
|
||||
Reference in New Issue
Block a user