spring-boot/spring-boot-project
Phillip Webb 2b261e6ebd Apply TestTypeExcludeFilter in regular applications
Add `ExcludeFilterApplicationContextInitializer` to register the
`TestTypeExcludeFilter` for regular applications.

Prior to this commit, the filter was only registered using the
`ExcludeFilterContextCustomizerFactory` which meant that test components
were filtered in tests but not when using `SpringApplication.from` with
a test classpath.

Fixes gh-35206
2023-04-29 21:10:02 -07:00
..
2023-04-27 16:37:46 -05:00
2023-04-26 12:48:50 +01:00
2023-04-28 17:56:12 +01:00
2023-04-26 12:48:50 +01:00
2023-04-28 18:06:37 +01:00