mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Fix UI tests
This commit is contained in:
committed by
Stefan Ceriu
parent
730ada69a0
commit
98de77679b
@@ -43,6 +43,10 @@ struct MockMediaProvider: MediaProviderProtocol {
|
||||
}
|
||||
|
||||
func loadImageFromURLString(_ urlString: String, avatarSize: AvatarSize?) async -> Result<UIImage, MediaProviderError> {
|
||||
.failure(.failedRetrievingImage)
|
||||
guard let image = UIImage(systemName: "photo") else {
|
||||
fatalError()
|
||||
}
|
||||
|
||||
return .success(image)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user