aboutsummaryrefslogtreecommitdiffhomepage
path: root/Example/Auth
diff options
context:
space:
mode:
authorGravatar Xiangtian Dai <xiangtian@google.com>2017-09-06 11:36:26 -0700
committerGravatar GitHub <noreply@github.com>2017-09-06 11:36:26 -0700
commit96685dfbb9936ec9b875491ccad9891231afd7ba (patch)
treedfaf8a808b80493de79df9613d05fcce38edbc87 /Example/Auth
parentb5ed1c60f66310b59a63fca268d9d5e1cdd5365d (diff)
Deprecates the old phone number auth method. (#236)
Diffstat (limited to 'Example/Auth')
-rw-r--r--Example/Auth/Tests/FIRPhoneAuthProviderTests.m6
1 files changed, 6 insertions, 0 deletions
diff --git a/Example/Auth/Tests/FIRPhoneAuthProviderTests.m b/Example/Auth/Tests/FIRPhoneAuthProviderTests.m
index 7b29ab3..8f25a31 100644
--- a/Example/Auth/Tests/FIRPhoneAuthProviderTests.m
+++ b/Example/Auth/Tests/FIRPhoneAuthProviderTests.m
@@ -168,6 +168,10 @@ static const NSTimeInterval kExpectationTimeout = 1;
[super tearDown];
}
+// We're still testing deprecated `verifyPhoneNumber:completion:` extensively.
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
+
/** @fn testCredentialWithVerificationID
@brief Tests the @c credentialWithToken method to make sure that it returns a valid
FIRAuthCredential instance.
@@ -665,6 +669,8 @@ static const NSTimeInterval kExpectationTimeout = 1;
OCMVerifyAll(_mockAPNSTokenManager);
}
+#pragma clang diagnostic pop // ignored "-Wdeprecated-declarations"
+
@end
NS_ASSUME_NONNULL_END