
This commit updates WebTestClientAutoConfiguration to only create a WebTestClient when running a WebFlux-based application as mocking the context only works with that mode at the moment. Closes gh-12318
This commit updates WebTestClientAutoConfiguration to only create a WebTestClient when running a WebFlux-based application as mocking the context only works with that mode at the moment. Closes gh-12318