-
-
Notifications
You must be signed in to change notification settings - Fork 735
Fix ParseUser#setState(state) unnecessarily creating authData #312
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
Fix ParseUser#setState(state) unnecessarily creating authData #312
Conversation
By analyzing the blame information on this pull request, we identified @wangmengyan95, @grantland and @hallucinogen to be potential reviewers. |
@@ -1435,6 +1435,35 @@ public void testSetCurrentUserStateWithoutAuthData() throws Exception { | |||
assertEquals("valueAgain", user.get("key")); | |||
} | |||
|
|||
@Test | |||
public void testSetNoAuthDataCurrentUserStateWithoutAuthData() throws Exception { |
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.
testSetStateDoesNotAddNonExistentAuthData
Some nits and can we rename the PR and commit to say
so that we have a bit more context as to what this PR is about? |
d04ecdf
to
5e29947
Compare
@wangmengyan95 updated the pull request. |
LGTM |
…tate_add_none_existed_authData_bug Fix ParseUser#setState(state) unnecessarily creating authData
@wangmengyan95 updated the pull request. |
Fixing a bug that was introduced in #304 that caused
authData
to be created onParseUser#setState(state)
with a state that did not containauthData
in the first place.