Skip to content

Commit

Permalink
Remove deprecated swift tests since there is no way to surpass warnin…
Browse files Browse the repository at this point in the history
…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.
6 changes: 0 additions & 6 deletions FirebaseAuth/Tests/Sample/SwiftApiTests/SwiftAPI.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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")
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit e49c948

Please sign in to comment.