-
Andy Wilkinson authored
Previously, AutoConfigureMockMvc used Spring Security's default filter ordering, ignoring the value configured by SecurityProperties that is used at runtime. This resulted in different ordering at runtime and in tests. This commit updates the configuration for AutoConfigureMockMvc to import the Spring Security filter auto-configuration, thereby ensuring that the ordering configured via SecurityProperties is applied. Fixes gh-21801
48acaa4b