Skip to content

Remove ClientRegistrationRepository Mock Beans from Samples #8606

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

Closed
jzheaux opened this issue May 27, 2020 · 0 comments
Closed

Remove ClientRegistrationRepository Mock Beans from Samples #8606

jzheaux opened this issue May 27, 2020 · 0 comments
Assignees
Labels
in: docs An issue in Documentation or samples type: enhancement A general enhancement
Milestone

Comments

@jzheaux
Copy link
Contributor

jzheaux commented May 27, 2020

As of Spring Boot 5.3.0, @SpringBootTest and @WebMvcTest prepare a ClientRegistrationRepository, so introducing a @MockBean is unnecessary.

@jzheaux jzheaux added in: docs An issue in Documentation or samples type: enhancement A general enhancement labels May 27, 2020
@jzheaux jzheaux added this to the 5.4.0-M2 milestone May 27, 2020
@jzheaux jzheaux self-assigned this May 27, 2020
jzheaux added a commit to jzheaux/spring-security that referenced this issue May 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: docs An issue in Documentation or samples type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant