Skip to content

Remove duplication in ServletWebServerFactoryAutoConfigurationTests and DispatcherServletAutoConfigurationTests #44207

@wilkinsona

Description

@wilkinsona

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions