Allow custom WebTestClient beans
Update `@SpringBootTest` `WebTestClient` support so that the bean definition is only registered when the user has not defined or auto-configured their own. See gh-10556
This commit is contained in:
@@ -5,7 +5,7 @@ org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizerFacto
|
||||
org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory,\
|
||||
org.springframework.boot.test.mock.mockito.MockitoContextCustomizerFactory,\
|
||||
org.springframework.boot.test.web.client.TestRestTemplateTestContextCustomizerFactory,\
|
||||
org.springframework.boot.test.web.reactive.WebTestClientContextCustomizerFactory
|
||||
org.springframework.boot.test.web.reactive.server.WebTestClientContextCustomizerFactory
|
||||
|
||||
# Test Execution Listeners
|
||||
org.springframework.test.context.TestExecutionListener=\
|
||||
|
||||
Reference in New Issue
Block a user