Skip to content

Commit 78b9905

Browse files
fix: more lint errors
1 parent 8bd799b commit 78b9905

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

samples/swiftui/FirebaseSwiftUIExample/FirebaseSwiftUIExampleTests/FirebaseSwiftUIExampleTests.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ struct FirebaseSwiftUIExampleTests {
4040

4141
@Test
4242
@MainActor
43-
func testDefaultAuthConfigurationInjection() async throws {
43+
func defaultAuthConfigurationInjection() async throws {
4444
let config = AuthConfiguration()
4545
let service = AuthService(configuration: config)
4646

@@ -58,7 +58,7 @@ struct FirebaseSwiftUIExampleTests {
5858

5959
@Test
6060
@MainActor
61-
func testCustomAuthConfigurationInjection() async throws {
61+
func customAuthConfigurationInjection() async throws {
6262
let emailSettings = ActionCodeSettings()
6363
emailSettings.handleCodeInApp = true
6464
emailSettings.url = URL(string: "https://example.com/email-link")
@@ -97,7 +97,7 @@ struct FirebaseSwiftUIExampleTests {
9797

9898
@Test
9999
@MainActor
100-
func testCreateEmailPasswordUser() async throws {
100+
func createEmailPasswordUser() async throws {
101101
let service = try await prepareFreshAuthService()
102102

103103
#expect(service.authenticationState == .unauthenticated)
@@ -119,7 +119,7 @@ struct FirebaseSwiftUIExampleTests {
119119

120120
@Test
121121
@MainActor
122-
func testSignInUser() async throws {
122+
func signInUser() async throws {
123123
let service = try await prepareFreshAuthService()
124124
let email = createEmail()
125125
try await service.createUser(email: email, password: kPassword)

samples/swiftui/FirebaseSwiftUIExample/FirebaseSwiftUIExampleUITests/MFAResolutionUITests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ final class MFAResolutionUITests: XCTestCase {
7171
)
7272

7373
let smsButton = app.buttons["sms-method-button"]
74-
if smsButton.exists && smsButton.isEnabled {
74+
if smsButton.exists, smsButton.isEnabled {
7575
smsButton.tap()
7676
}
7777
dismissAlert(app: app)
@@ -421,7 +421,7 @@ final class MFAResolutionUITests: XCTestCase {
421421
password: String = "123456") throws {
422422
// Ensure we're in sign in flow
423423
let switchFlowButton = app.buttons["switch-auth-flow"]
424-
if switchFlowButton.exists && switchFlowButton.label.contains("Sign In") {
424+
if switchFlowButton.exists, switchFlowButton.label.contains("Sign In") {
425425
switchFlowButton.tap()
426426
}
427427

0 commit comments

Comments
 (0)