Skip to content
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

SampleWebSecurityConfigurerAdapterTests -> use MockMvc #5032

Open
jgrandja opened this issue Feb 20, 2018 · 0 comments
Open

SampleWebSecurityConfigurerAdapterTests -> use MockMvc #5032

jgrandja opened this issue Feb 20, 2018 · 0 comments
Labels
in: test An issue in spring-security-test type: enhancement A general enhancement

Comments

@jgrandja
Copy link
Contributor

SampleWebSecurityConfigurerAdapterTests currently uses MockHttpServletRequest, MockHttpServletResponse and MockFilterChain directly in the test.

We should change the test to use MockMvc instead as this removes much of the setup/boilerplate code.

@jgrandja jgrandja added in: test An issue in spring-security-test type: enhancement A general enhancement labels Feb 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: test An issue in spring-security-test type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant