Skip to content

Commit

Permalink
Fix up "double" stub (#298)
Browse files Browse the repository at this point in the history
Co-authored-by: mdmathias <mdmathias@google.com>
  • Loading branch information
dmaclach and mdmathias committed May 19, 2023
1 parent 55bf5d0 commit 312d506
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GoogleSignIn/Tests/Unit/GIDSignInTest.m
Original file line number Diff line number Diff line change
Expand Up @@ -1494,7 +1494,7 @@ - (void)OAuthLoginWithAddScopesFlow:(BOOL)addScopesFlow
authorizationResponse:SAVE_TO_ARG_BLOCK(updatedAuthorizationResponse)
profileData:SAVE_TO_ARG_BLOCK(profileData)];
} else {
[[[_user stub] andReturn:_user] alloc];
[[[_user expect] andReturn:_user] alloc];
(void)[[[_user expect] andReturn:_user] initWithAuthState:SAVE_TO_ARG_BLOCK(authState)
profileData:SAVE_TO_ARG_BLOCK(profileData)];
}
Expand Down

0 comments on commit 312d506

Please sign in to comment.