File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed
FirebaseCombineSwift/Tests/Unit Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -104,12 +104,17 @@ extension AuthBackendImplementationMock {
104
104
fatalError ( " You need to implement \( #function) in your mock. " )
105
105
}
106
106
107
+ func getRecaptchaConfig( _ request: FIRGetRecaptchaConfigRequest ,
108
+ callback: @escaping FIRGetRecaptchaConfigResponseCallback ) {
109
+ fatalError ( " You need to implement \( #function) in your mock. " )
110
+ }
111
+
107
112
func resetPassword( _ request: FIRResetPasswordRequest ,
108
113
callback: @escaping FIRResetPasswordCallback ) {
109
114
fatalError ( " You need to implement \( #function) in your mock. " )
110
115
}
111
116
112
- func post ( with request: FIRAuthRPCRequest , response: FIRAuthRPCResponse ,
117
+ func call ( with request: FIRAuthRPCRequest , response: FIRAuthRPCResponse ,
113
118
callback: @escaping ( Error ? ) -> Void ) {
114
119
fatalError ( " You need to implement \( #function) in your mock. " )
115
120
}
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ class SignInWithGameCenterTests: XCTestCase {
69
69
var contentType : String ?
70
70
var handler : FIRAuthBackendRPCIssuerCompletionHandler ?
71
71
72
- func asyncPostToURL ( with requestConfiguration: FIRAuthRequestConfiguration , url URL: URL ,
72
+ func asyncCallToURL ( with requestConfiguration: FIRAuthRequestConfiguration , url URL: URL ,
73
73
body: Data ? , contentType: String ,
74
74
completionHandler handler: @escaping FIRAuthBackendRPCIssuerCompletionHandler ) {
75
75
requestURL = URL
Original file line number Diff line number Diff line change 42
42
#import " FirebaseAuth/Sources/Backend/RPC/FIRGetOOBConfirmationCodeResponse.h"
43
43
#import " FirebaseAuth/Sources/Backend/RPC/FIRGetProjectConfigRequest.h"
44
44
#import " FirebaseAuth/Sources/Backend/RPC/FIRGetProjectConfigResponse.h"
45
+ #import " FirebaseAuth/Sources/Backend/RPC/FIRGetRecaptchaConfigRequest.h"
46
+ #import " FirebaseAuth/Sources/Backend/RPC/FIRGetRecaptchaConfigResponse.h"
45
47
#import " FirebaseAuth/Sources/Backend/RPC/FIRResetPasswordRequest.h"
46
48
#import " FirebaseAuth/Sources/Backend/RPC/FIRResetPasswordResponse.h"
47
49
#import " FirebaseAuth/Sources/Backend/RPC/FIRRevokeTokenRequest.h"
You can’t perform that action at this time.
0 commit comments