Skip to content

Commit 60fa693

Browse files
authored
Internal code clean up (#584)
Fixes indentation and removes unused imports.
1 parent c7f8d7f commit 60fa693

10 files changed

+9
-25
lines changed

Example/Auth/Tests/FIRVerifyPasswordRequestTest.m

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818

1919
#import "FIRAuthErrors.h"
2020
#import "FIRAuthBackend.h"
21+
#import "FIRFakeBackendRPCIssuer.h"
2122
#import "FIRVerifyPasswordRequest.h"
2223
#import "FIRVerifyPasswordResponse.h"
23-
#import "FIRFakeBackendRPCIssuer.h"
2424

2525
/** @var kTestAPIKey
2626
@brief Fake API key used for testing.
@@ -125,9 +125,10 @@ - (void)tearDown {
125125
@brief Tests the verify password request.
126126
*/
127127
- (void)testVerifyPasswordRequest {
128-
FIRVerifyPasswordRequest * request = [[FIRVerifyPasswordRequest alloc] initWithEmail:kTestEmail
129-
password:kTestPassword
130-
requestConfiguration:_requestConfiguration];
128+
FIRVerifyPasswordRequest * request =
129+
[[FIRVerifyPasswordRequest alloc] initWithEmail:kTestEmail
130+
password:kTestPassword
131+
requestConfiguration:_requestConfiguration];
131132
request.returnSecureToken = NO;
132133
[FIRAuthBackend verifyPassword:request
133134
callback:^(FIRVerifyPasswordResponse *_Nullable response,
@@ -147,9 +148,10 @@ - (void)testVerifyPasswordRequest {
147148
@brief Tests the verify password request with optional fields.
148149
*/
149150
- (void)testVerifyPasswordRequestOptionalFields {
150-
FIRVerifyPasswordRequest * request = [[FIRVerifyPasswordRequest alloc] initWithEmail:kTestEmail
151-
password:kTestPassword
152-
requestConfiguration:_requestConfiguration];
151+
FIRVerifyPasswordRequest * request =
152+
[[FIRVerifyPasswordRequest alloc] initWithEmail:kTestEmail
153+
password:kTestPassword
154+
requestConfiguration:_requestConfiguration];
153155
request.pendingIDToken = kTestPendingToken;
154156
request.captchaChallenge = kTestCaptchaChallenge;
155157
request.captchaResponse = kTestCaptchaResponse;

Firebase/Auth/Source/RPCs/FIRCreateAuthURIResponse.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616

1717
#import "FIRCreateAuthURIResponse.h"
1818

19-
#import "FIRAuthErrorUtils.h"
20-
2119
@implementation FIRCreateAuthURIResponse
2220

2321
- (BOOL)setWithDictionary:(NSDictionary *)dictionary

Firebase/Auth/Source/RPCs/FIRDeleteAccountResponse.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616

1717
#import "FIRDeleteAccountResponse.h"
1818

19-
#import "FIRAuthErrorUtils.h"
20-
2119
@implementation FIRDeleteAccountResponse
2220

2321
- (BOOL)setWithDictionary:(NSDictionary *)dictionary

Firebase/Auth/Source/RPCs/FIRGetOOBConfirmationCodeResponse.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616

1717
#import "FIRGetOOBConfirmationCodeResponse.h"
1818

19-
#import "FIRAuthErrorUtils.h"
20-
2119
NS_ASSUME_NONNULL_BEGIN
2220

2321
/** @var kOOBCodeKey

Firebase/Auth/Source/RPCs/FIRResetPasswordResponse.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616

1717
#import "FIRResetPasswordResponse.h"
1818

19-
#import "FIRAuthErrorUtils.h"
20-
2119
@implementation FIRResetPasswordResponse
2220

2321
- (BOOL)setWithDictionary:(NSDictionary *)dictionary

Firebase/Auth/Source/RPCs/FIRSetAccountInfoResponse.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616

1717
#import "FIRSetAccountInfoResponse.h"
1818

19-
#import "FIRAuthErrorUtils.h"
20-
2119
@implementation FIRSetAccountInfoResponseProviderUserInfo
2220

2321
- (instancetype)initWithDictionary:(NSDictionary *)dictionary {

Firebase/Auth/Source/RPCs/FIRSignUpNewUserResponse.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616

1717
#import "FIRSignUpNewUserResponse.h"
1818

19-
#import "FIRAuthErrorUtils.h"
20-
2119
@implementation FIRSignUpNewUserResponse
2220

2321
- (BOOL)setWithDictionary:(NSDictionary *)dictionary

Firebase/Auth/Source/RPCs/FIRVerifyAssertionResponse.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616

1717
#import "FIRVerifyAssertionResponse.h"
1818

19-
#import "FIRAuthErrorUtils.h"
20-
2119
@implementation FIRVerifyAssertionResponse
2220

2321
- (BOOL)setWithDictionary:(NSDictionary *)dictionary

Firebase/Auth/Source/RPCs/FIRVerifyCustomTokenResponse.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616

1717
#import "FIRVerifyCustomTokenResponse.h"
1818

19-
#import "FIRAuthErrorUtils.h"
20-
2119
@implementation FIRVerifyCustomTokenResponse
2220

2321
- (BOOL)setWithDictionary:(NSDictionary *)dictionary

Firebase/Auth/Source/RPCs/FIRVerifyPasswordResponse.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616

1717
#import "FIRVerifyPasswordResponse.h"
1818

19-
#import "FIRAuthErrorUtils.h"
20-
2119
@implementation FIRVerifyPasswordResponse
2220

2321
- (BOOL)setWithDictionary:(NSDictionary *)dictionary

0 commit comments

Comments
 (0)