Skip to content

Commit 864ae2d

Browse files
committed
Add a stub for use of additionalParameters.
1 parent f5aa90b commit 864ae2d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

GoogleSignIn/Tests/Unit/GIDSignInTest.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,7 @@ - (void)setUp {
310310
OCMStub([_authState alloc]).andReturn(_authState);
311311
OCMStub([_authState initWithAuthorizationResponse:OCMOCK_ANY]).andReturn(_authState);
312312
_tokenResponse = OCMStrictClassMock([OIDTokenResponse class]);
313+
OCMStub([_tokenResponse additionalParameters]).andReturn(@{});
313314
_tokenRequest = OCMStrictClassMock([OIDTokenRequest class]);
314315
_authorization = OCMStrictClassMock([GTMAuthSession class]);
315316
_keychainStore = OCMStrictClassMock([GTMKeychainStore class]);

0 commit comments

Comments
 (0)