Skip to content

Commit 574b905

Browse files
committed
FetchMocks fix
1 parent 6c70c0f commit 574b905

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

FirebaseRemoteConfig/Tests/Swift/ObjC/FetchMocks.m

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,14 @@
2020
@interface RCNConfigFetch (ExposedForTest)
2121
- (void)refreshInstallationsTokenWithFetchHeader:(NSString *)fetchTypeHeader
2222
completionHandler:(FIRRemoteConfigFetchCompletion)completionHandler
23-
updateCompletionHandler:(RCNConfigFetchCompletion)updateCompletionHandler;
23+
updateCompletionHandler:(void (^)(FIRRemoteConfigFetchStatus status,
24+
FIRRemoteConfigUpdate *update,
25+
NSError *error))updateCompletionHandler;
2426
- (void)doFetchCall:(NSString *)fetchTypeHeader
2527
completionHandler:(FIRRemoteConfigFetchCompletion)completionHandler
26-
updateCompletionHandler:(RCNConfigFetchCompletion)updateCompletionHandler;
28+
updateCompletionHandler:(void (^)(FIRRemoteConfigFetchStatus status,
29+
FIRRemoteConfigUpdate *update,
30+
NSError *error))updateCompletionHandler;
2731
@end
2832

2933
@implementation FetchMocks

0 commit comments

Comments
 (0)