diff --git a/FirebaseCombineSwift/Tests/Unit/Auth/AuthMocks.swift b/FirebaseCombineSwift/Tests/Unit/Auth/AuthMocks.swift index 0a974e53858..a1df847b214 100644 --- a/FirebaseCombineSwift/Tests/Unit/Auth/AuthMocks.swift +++ b/FirebaseCombineSwift/Tests/Unit/Auth/AuthMocks.swift @@ -104,12 +104,17 @@ extension AuthBackendImplementationMock { fatalError("You need to implement \(#function) in your mock.") } + func getRecaptchaConfig(_ request: FIRGetRecaptchaConfigRequest, + callback: @escaping FIRGetRecaptchaConfigResponseCallback) { + fatalError("You need to implement \(#function) in your mock.") + } + func resetPassword(_ request: FIRResetPasswordRequest, callback: @escaping FIRResetPasswordCallback) { fatalError("You need to implement \(#function) in your mock.") } - func post(with request: FIRAuthRPCRequest, response: FIRAuthRPCResponse, + func call(with request: FIRAuthRPCRequest, response: FIRAuthRPCResponse, callback: @escaping (Error?) -> Void) { fatalError("You need to implement \(#function) in your mock.") } diff --git a/FirebaseCombineSwift/Tests/Unit/Auth/SignInWithGameCenterTests.swift b/FirebaseCombineSwift/Tests/Unit/Auth/SignInWithGameCenterTests.swift index eb206164ae4..b647ba4df5e 100644 --- a/FirebaseCombineSwift/Tests/Unit/Auth/SignInWithGameCenterTests.swift +++ b/FirebaseCombineSwift/Tests/Unit/Auth/SignInWithGameCenterTests.swift @@ -69,7 +69,7 @@ class SignInWithGameCenterTests: XCTestCase { var contentType: String? var handler: FIRAuthBackendRPCIssuerCompletionHandler? - func asyncPostToURL(with requestConfiguration: FIRAuthRequestConfiguration, url URL: URL, + func asyncCallToURL(with requestConfiguration: FIRAuthRequestConfiguration, url URL: URL, body: Data?, contentType: String, completionHandler handler: @escaping FIRAuthBackendRPCIssuerCompletionHandler) { requestURL = URL diff --git a/FirebaseCombineSwift/Tests/Unit/FirebaseCombine-unit-Bridging-Header.h b/FirebaseCombineSwift/Tests/Unit/FirebaseCombine-unit-Bridging-Header.h index 0d9d6e2feca..c413d6f7c36 100644 --- a/FirebaseCombineSwift/Tests/Unit/FirebaseCombine-unit-Bridging-Header.h +++ b/FirebaseCombineSwift/Tests/Unit/FirebaseCombine-unit-Bridging-Header.h @@ -42,6 +42,8 @@ #import "FirebaseAuth/Sources/Backend/RPC/FIRGetOOBConfirmationCodeResponse.h" #import "FirebaseAuth/Sources/Backend/RPC/FIRGetProjectConfigRequest.h" #import "FirebaseAuth/Sources/Backend/RPC/FIRGetProjectConfigResponse.h" +#import "FirebaseAuth/Sources/Backend/RPC/FIRGetRecaptchaConfigRequest.h" +#import "FirebaseAuth/Sources/Backend/RPC/FIRGetRecaptchaConfigResponse.h" #import "FirebaseAuth/Sources/Backend/RPC/FIRResetPasswordRequest.h" #import "FirebaseAuth/Sources/Backend/RPC/FIRResetPasswordResponse.h" #import "FirebaseAuth/Sources/Backend/RPC/FIRRevokeTokenRequest.h"