Skip to content

Commit 6a65c5a

Browse files
committed
PR Feedback
1 parent 4892a2c commit 6a65c5a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Example/Auth/Tests/FIRAuthTests.m

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
#import <FirebaseAuthInterop/FIRAuthInterop.h>
2222
#import <FirebaseCore/FIRAppInternal.h>
2323
#import <FirebaseCore/FIRComponent.h>
24-
#import <FirebaseCore/FIRComponentContainer.h>
2524
#import <FirebaseCore/FIRComponentRegistrant.h>
2625

2726
#import "FIRAdditionalUserInfo.h"
@@ -2270,7 +2269,7 @@ - (void)mockSecureTokenResponseWithError:(nullable NSError *)error {
22702269
*/
22712270
- (void)enableAutoTokenRefresh {
22722271
XCTestExpectation *expectation = [self expectationWithDescription:@"autoTokenRefreshcallback"];
2273-
id<FIRAuthInterop> auth = FIR_COMPONENT(FIRAuthInterop, [FIRAuth auth].app.container);
2272+
id<FIRAuthInterop> auth = (id<FIRAuthInterop>)[FIRAuth auth];
22742273
[auth getTokenForcingRefresh:NO withCallback:^(NSString *_Nullable token,
22752274
NSError *_Nullable error) {
22762275
[expectation fulfill];

0 commit comments

Comments
 (0)