diff --git a/GoogleSignIn/Tests/Unit/GIDSignInTest.m b/GoogleSignIn/Tests/Unit/GIDSignInTest.m index 5e3d593e..bde4558c 100644 --- a/GoogleSignIn/Tests/Unit/GIDSignInTest.m +++ b/GoogleSignIn/Tests/Unit/GIDSignInTest.m @@ -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 = @@ -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];