Skip to content

Commit feb94a8

Browse files
committed
combine fix
1 parent f82ef92 commit feb94a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

FirebaseFunctions/Tests/CombineUnit/HTTPSCallableTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ import XCTest
2828
private let timeoutInterval: TimeInterval = 70.0
2929
private let expectationTimeout: TimeInterval = 2
3030

31-
class MockFunctions: Functions {
31+
class MockFunctions: Functions, @unchecked Sendable {
3232
let mockCallFunction: () throws -> HTTPSCallableResult
3333
var verifyParameters: ((_ url: URL, _ data: Any?, _ timeout: TimeInterval) throws -> Void)?
3434

3535
override func callFunction(at url: URL,
3636
withObject data: Any?,
3737
options: HTTPSCallableOptions?,
38-
timeout: TimeInterval) async throws -> HTTPSCallableResult {
38+
timeout: TimeInterval) async throws -> sending HTTPSCallableResult {
3939
try verifyParameters?(url, data, timeout)
4040
return try mockCallFunction()
4141
}

0 commit comments

Comments
 (0)