Skip to content

Commit 5fcd4d2

Browse files
committed
Update int. test code
1 parent f25c7d5 commit 5fcd4d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

FirebaseAuth/Tests/SampleSwift/AuthenticationExample/ViewControllers/AuthViewController.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ class AuthViewController: UIViewController, DataSourceProviderDelegate {
481481

482482
Task {
483483
do {
484-
let verifyResponse = try await AuthBackend.call(with: request)
484+
let verifyResponse = try await AppManager.shared.auth().backend.call(with: request)
485485

486486
guard let receipt = verifyResponse.receipt,
487487
let timeoutDate = verifyResponse.suggestedTimeOutDate else {
@@ -510,7 +510,7 @@ class AuthViewController: UIViewController, DataSourceProviderDelegate {
510510
)
511511

512512
do {
513-
_ = try await AuthBackend.call(with: request)
513+
_ = try await AppManager.shared.auth().backend.call(with: request)
514514
print("Verify iOS client succeeded")
515515
} catch {
516516
print("Verify iOS Client failed: \(error.localizedDescription)")

0 commit comments

Comments
 (0)