|
|
@@ -22,15 +22,15 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
completion:(void (^)(GIDProfileData *_Nullable profileData,
|
|
|
NSError *_Nullable error))completion {
|
|
|
NSAssert(self.testBlock != nil, @"Set the test block before invoking this method.");
|
|
|
- self.testBlock(^(GIDProfileData *_Nullable profileData, NSError *_Nullable error){
|
|
|
- completion(profileData,error);
|
|
|
+ self.testBlock(^(GIDProfileData *_Nullable profileData, NSError *_Nullable error) {
|
|
|
+ completion(profileData, error);
|
|
|
});
|
|
|
}
|
|
|
|
|
|
- (nullable GIDProfileData*)fetchProfileDataWithIDToken:(OIDIDToken *)idToken {
|
|
|
NSAssert(self.testBlock != nil, @"Set the test block before invoking this method.");
|
|
|
__block GIDProfileData *profileDataToReturn;
|
|
|
- self.testBlock(^(GIDProfileData *_Nullable profileData, NSError *_Nullable error){
|
|
|
+ self.testBlock(^(GIDProfileData *_Nullable profileData, NSError *_Nullable error) {
|
|
|
profileDataToReturn = profileData;
|
|
|
});
|
|
|
return profileDataToReturn;
|