-
Notifications
You must be signed in to change notification settings - Fork 25
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
Add unit tests for auth feature #259
Conversation
f557aa8
to
6a0628e
Compare
6a0628e
to
1ecf451
Compare
@@ -55,7 +56,8 @@ public enum OAuthAttributes { | |||
this.of = of; | |||
} | |||
|
|||
public static MemberProfile extract(String registrationId, Map<String, Object> attributes) { | |||
public static MemberProfile | |||
extract(String registrationId, Map<String, Object> attributes) { |
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.
Doesn't seem to be a substantial change.
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.
thanks, good point.
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.
Auth part of the project's test coverage was 0% previously so this is a good addition.
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.
+1
Description
Refactor auth feature in order to cover with unit tests.
Move auth under entities folder;
Add unit tests to cover main functionality;
Fixes # (245, #242)
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration. Below is just an example and you can delete it when you contribute.
Test Configuration:
Checklist: