Skip to content

Commit

Permalink
Improve style.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-4-Git committed Jan 19, 2023
1 parent 7e76eae commit 620ceff
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions GoogleSignIn/Tests/Unit/GIDSignInTest.m
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@

static NSString * const kContinueURL = @"com.google.UnitTests:/oauth2callback";
static NSString * const kContinueURLWithClientID = @"FakeClientID:/oauth2callback";
static NSString * const kWrongSchemeURL = @"wrong.app:/oauth2callback";
static NSString * const kWrongPathURL = @"com.google.UnitTests:/wrong_path";

static NSString * const kEMMRestartAuthURL =
Expand Down Expand Up @@ -1077,10 +1076,10 @@ - (void)OAuthLoginWithAddScopesFlow:(BOOL)addScopesFlow
// Mock `maybeFetchToken:` method in Sign in flow.
if (!(authError || modalCancel)) {
[[[_authState expect] andReturn:nil] lastTokenResponse];
#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST
#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST
// Corresponds to EMM support
[[[_authState expect] andReturn:authResponse] lastAuthorizationResponse];
#endif // TARGET_OS_IOS && !TARGET_OS_MACCATALYST
#endif // TARGET_OS_IOS && !TARGET_OS_MACCATALYST
[[[_authState expect] andReturn:nil] lastTokenResponse];
[[[_authState expect] andReturn:authResponse] lastAuthorizationResponse];
[[[_authState expect] andReturn:authResponse] lastAuthorizationResponse];
Expand Down

0 comments on commit 620ceff

Please sign in to comment.