Skip to content

Commit 312d506

Browse files
dmaclachmdmathias
andauthored
Fix up "double" stub (#298)
Co-authored-by: mdmathias <[email protected]>
1 parent 55bf5d0 commit 312d506

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GoogleSignIn/Tests/Unit/GIDSignInTest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1494,7 +1494,7 @@ - (void)OAuthLoginWithAddScopesFlow:(BOOL)addScopesFlow
14941494
authorizationResponse:SAVE_TO_ARG_BLOCK(updatedAuthorizationResponse)
14951495
profileData:SAVE_TO_ARG_BLOCK(profileData)];
14961496
} else {
1497-
[[[_user stub] andReturn:_user] alloc];
1497+
[[[_user expect] andReturn:_user] alloc];
14981498
(void)[[[_user expect] andReturn:_user] initWithAuthState:SAVE_TO_ARG_BLOCK(authState)
14991499
profileData:SAVE_TO_ARG_BLOCK(profileData)];
15001500
}

0 commit comments

Comments
 (0)