Skip to content

Remove duplication in ServletWebServerFactoryAutoConfigurationTests and DispatcherServletAutoConfigurationTests #44207

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
wilkinsona opened this issue Feb 11, 2025 · 0 comments
Assignees
Labels
type: task A general task
Milestone

Comments

@wilkinsona
Copy link
Member

ServletWebServerFactoryAutoConfigurationTests and DispatcherServletAutoConfigurationTests both contain tests that relate to dispatcher servlet registration and the logic in DefaultDispatcherServletCondition. Simplify things by moving all tests related to dispatcher servlet auto-configuration into DispatcherServletAutoConfigurationTests and removing any duplicate tests. This will also improve the separation of ServletWebServerFactoryAutoConfigurationTests which shouldn't know anything about Spring MVC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: task A general task
Projects
None yet
Development

No branches or pull requests

1 participant