-
Notifications
You must be signed in to change notification settings - Fork 124
Remove deprecated Auth function from C++ SDK #1767
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Matching a change made in the Unity SDK, this commit removes: - Auth: `User::UpdateEmail` and `User::UpdateEmailLastResult` Updated the release notes to reflect this change.
Integration test with FLAKINESS (succeeded after retry)Requested by @jonsimantov on commit 53190f9
Add flaky tests to go/fpl-cpp-flake-tracker |
Matching a change made in the Unity SDK, this commit removes: - Auth: `User::UpdateEmail` and `User::UpdateEmailLastResult` methods. Integration tests in `ta/auth/it/src/integration_test.cc` were updated: - Removed a call to `UpdateEmail` on an invalid user. - Commented out calls to `UpdateEmail` in `TestUpdateEmailAndPassword` to allow build to pass. Further work is needed to update this test to the new email verification flow. Updated the release notes to reflect this change.
@@ -767,16 +762,16 @@ TEST_F(FirebaseAuthTest, TestUpdateEmailAndPassword) { | |||
EXPECT_TRUE(user.is_valid()); | |||
|
|||
// Update the user's email and password. | |||
const std::string new_email = "new_" + email; | |||
WaitForCompletion(user.UpdateEmail(new_email.c_str()), "UpdateEmail"); | |||
// const std::string new_email = "new_" + email; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove instead of commenting out
Matching a change made in the Unity SDK, this commit removes: - Auth: `User::UpdateEmail` and `User::UpdateEmailLastResult` methods. Integration tests in `ta/auth/it/src/integration_test.cc` were updated: - Removed a call to `UpdateEmail` on an invalid user. - Removed commented-out calls to `UpdateEmail` in `TestUpdateEmailAndPassword`. Updated the release notes to reflect this change.
// const std::string new_email = "new_" + email; | ||
// WaitForCompletion(user.UpdateEmail(new_email.c_str()), "UpdateEmail"); | ||
// Update the user's password. | ||
// Email update functionality has been changed and the old UpdateEmail method removed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just remove this second part completely.
Description
Matching a change made in the Unity SDK, this commit removes:
User::UpdateEmail
andUser::UpdateEmailLastResult
Updated the release notes to reflect this change.
Testing
Integration tests.
Type of Change
Place an
x
the applicable box:Notes
Release Notes
section ofrelease_build_files/readme.md
.