mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
2c75eb8745
Prior to this commit, MockServerContainerContextCustomizerFactory did not find @WebAppConfiguration on an enclosing class and therefore failed to create a MockServerContainerContextCustomizer for a @Nested test class. This commit addresses this by using TestContextAnnotationUtils to determine if the test class is "annotated" with @WebAppConfiguration. Closes gh-29037