-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove deprecated swift tests since there is no way to surpass warnin…
…gs in swift
- Loading branch information
renkelvin
committed
Nov 15, 2023
1 parent
358020d
commit e49c948
Showing
1 changed file
with
0 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,8 +37,6 @@ class AuthAPI_hOnlyTests: XCTestCase { | |
let user = auth.currentUser! | ||
auth.updateCurrentUser(user) { _ in | ||
} | ||
authApp.fetchSignInMethods(forEmail: "[email protected]") { string, error in | ||
} | ||
auth.signIn(withEmail: "[email protected]", password: "password") { result, error in | ||
} | ||
auth.signIn(withEmail: "[email protected]", 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: "[email protected]") | ||
_ = try await auth.signIn(withEmail: "[email protected]", password: "password") | ||
_ = try await auth.signIn(withEmail: "[email protected]", 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() | ||
|