We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16dd4ee commit bf29b4bCopy full SHA for bf29b4b
FirebaseRemoteConfig/Tests/Swift/FakeUtils/URLSessionPartialMock.swift
@@ -19,7 +19,7 @@ import Foundation
19
#endif
20
21
// Create a partial mock by subclassing the URLSessionDataTask.
22
-class URLSessionDataTaskMock: URLSessionDataTask {
+class URLSessionDataTaskMock: URLSessionDataTask, @unchecked Sendable {
23
private let closure: () -> Void
24
25
init(closure: @escaping () -> Void) {
@@ -31,7 +31,7 @@ class URLSessionDataTaskMock: URLSessionDataTask {
31
}
32
33
34
-class URLSessionMock: URLSession {
+class URLSessionMock: URLSession, @unchecked Sendable {
35
typealias CompletionHandler = (Data?, URLResponse?, Error?) -> Void
36
37
private let fakeConsole: FakeConsole
0 commit comments