-
Notifications
You must be signed in to change notification settings - Fork 47
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
Fixes ambiguous error codes #293
Conversation
d85ef8e
to
5ebfb9d
Compare
7319931
to
5b487e1
Compare
@@ -232,7 +232,7 @@ public void refreshTokenFailure() throws InterruptedException { | |||
latch.await(); | |||
assertNull(cb.getResult()); | |||
assertNotNull(cb.getException()); | |||
assertEquals(cb.getException().getMessage(), "Invalid status code 401 Client Error"); | |||
assertEquals(cb.getException().getMessage(), "No client credentials found."); |
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.
String INVALID_CLIENT = "{\n" + |
5b487e1
to
5029117
Compare
@@ -232,7 +232,7 @@ public void refreshTokenFailure() throws InterruptedException { | |||
latch.await(); | |||
assertNull(cb.getResult()); | |||
assertNotNull(cb.getException()); | |||
assertEquals(cb.getException().getMessage(), "Invalid status code 401 Client Error"); | |||
assertEquals(cb.getException().getMessage(), "No client credentials found."); |
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.
The original issue was saying we had multiple exceptions with the same type/code. Please add an assertion to confirm we fixed the original issue.
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.
Added the assertion below.
5029117
to
ab12651
Compare
OKTA-435843 <<<Jenkins Check-In of Tested SHA: ab12651 for [email protected]>>> Artifact: okta-oidc-android Files changed count: 3 PR Link: "#293"
Update to latest gradle.
Description:
Testing details:
Other considerations:
RESOLVES:
OKTA-435843
#274
Primary Reviewer(s):
Additional Reviewers:
Security Reviewer(s) (@ okta/rex-team if necessary):
UX Reviewer(s) (if necessary):