-
Notifications
You must be signed in to change notification settings - Fork 6.1k
MockMvc Support Allows Specifying Jwt #6923
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
Conversation
@sandmannn Please sign the Contributor License Agreement! Click here to manually synchronize the status of this Pull Request. See the FAQ for frequently asked questions. |
@sandmannn Thank you for signing the Contributor License Agreement! |
@sandmannn Thanks for the PR! Would you please add a unit test that proves that the method works? Also, will you please squash your commits so that you just have one commit in the PR? |
@jzheaux thanks for the review, I squashed commits and added a single unit test. Please suggest in case some additional testing scenarios are desired. |
Just one more thing, @sandmannn. Would you please add the ticket number into your commit message like so. |
Added new implementation of jwt() method that makes it possible to directly provide a previously prepared JWT token to the MockMvc request builder. Issue: spring-projectsgh-6896
Done, please review corrected commit message |
actually I am not sure if my commit completely fixes the issue, as the fix for reactive client is still pending to be added in separate PR. Should I still use |
Good point, @sandmannn. This is now merged into Would you like to provide a PR for the reactive equivalent? |
Thanks for merging. Yes, I already started looking into code. Will create a PR soon. |
This is the first PR to address extension of testing API as described in #6896