-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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][test] Replace test call to Auth0 with call to WireMock #20465
[fix][test] Replace test call to Auth0 with call to WireMock #20465
Conversation
Codecov Report
@@ Coverage Diff @@
## master #20465 +/- ##
============================================
+ Coverage 72.91% 72.93% +0.02%
+ Complexity 31913 3696 -28217
============================================
Files 1867 1867
Lines 138534 138484 -50
Branches 15200 15202 +2
============================================
- Hits 101009 101007 -2
+ Misses 29517 29454 -63
- Partials 8008 8023 +15
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Merging... Thank you! |
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.
Good work @michaeljmarshall!
I noticed 2 more locations where Auth0 is used in tests. There's a follow up task, #20473. |
(cherry picked from commit 174c486)
(cherry picked from commit 174c486)
Fixes #19330
Motivation
Replace calls to Auth0 with calls to a local WireMock server. The server behaves in essentially the same way as Auth0.
Modifications
Update
TokenOauth2AuthenticatedProducerConsumerTest
.Verifying this change
The modified test passes and still covers the same code.
Documentation
doc-not-needed