From e49c948e8d2f9da3c2ece1e8b264763fcefce760 Mon Sep 17 00:00:00 2001 From: renkelvin Date: Wed, 15 Nov 2023 11:22:39 -0800 Subject: [PATCH] Remove deprecated swift tests since there is no way to surpass warnings in swift --- FirebaseAuth/Tests/Sample/SwiftApiTests/SwiftAPI.swift | 6 ------ 1 file changed, 6 deletions(-) diff --git a/FirebaseAuth/Tests/Sample/SwiftApiTests/SwiftAPI.swift b/FirebaseAuth/Tests/Sample/SwiftApiTests/SwiftAPI.swift index d4f4913af0d9..364f98824a72 100644 --- a/FirebaseAuth/Tests/Sample/SwiftApiTests/SwiftAPI.swift +++ b/FirebaseAuth/Tests/Sample/SwiftApiTests/SwiftAPI.swift @@ -37,8 +37,6 @@ class AuthAPI_hOnlyTests: XCTestCase { let user = auth.currentUser! auth.updateCurrentUser(user) { _ in } - authApp.fetchSignInMethods(forEmail: "abc@abc.com") { string, error in - } auth.signIn(withEmail: "abc@abc.com", password: "password") { result, error in } auth.signIn(withEmail: "abc@abc.com", link: "link") { result, error in @@ -102,7 +100,6 @@ class AuthAPI_hOnlyTests: XCTestCase { let auth = FirebaseAuth.Auth.auth() let user = auth.currentUser! try await auth.updateCurrentUser(user) - _ = try await auth.fetchSignInMethods(forEmail: "abc@abc.com") _ = try await auth.signIn(withEmail: "abc@abc.com", password: "password") _ = try await auth.signIn(withEmail: "abc@abc.com", link: "link") let provider = OAuthProvider(providerID: "abc") @@ -416,8 +413,6 @@ class AuthAPI_hOnlyTests: XCTestCase { let credential = PhoneAuthProvider.provider().credential(withVerificationID: "id", verificationCode: "code") let provider = PhoneAuthProvider.provider(auth: FirebaseAuth.Auth.auth()) - user.updateEmail(to: "email") { _ in - } user.updatePassword(to: "password") { _ in } user.updatePhoneNumber(credential) { _ in @@ -467,7 +462,6 @@ class AuthAPI_hOnlyTests: XCTestCase { let credential = PhoneAuthProvider.provider().credential(withVerificationID: "id", verificationCode: "code") let provider = PhoneAuthProvider.provider(auth: FirebaseAuth.Auth.auth()) - try await user.updateEmail(to: "email") try await user.updatePassword(to: "password") try await user.updatePhoneNumber(credential) let changeRequest = user.createProfileChangeRequest()