Stéphane Nicoll
879b7e6cce
Bind WebTestClient to the default WebHandler
...
Previously, if multiple WebHandler beans were present, the auto-config
for WebTestClient fail to identify a suitable candidate as it expects
to only have such a bean.
This commit updates the logic to look for a well-known bean name that
WebFlux uses, and clarify the exception message to state that a bean
with a given name is expected to be found.
The exception message has been further refined to mention that, if
such a bean is not present, then a MockMVc-compatible ApplicationContext
should be available (i.e. WebApplicationContext).
Closes gh-47617
2025-10-14 11:00:49 +02:00
..
2025-10-02 11:58:23 +02:00
2025-10-09 22:48:45 -07:00
2025-10-09 22:48:45 -07:00
2025-10-02 15:35:04 +02:00
2025-10-02 15:35:04 +02:00
2025-09-10 20:53:40 +02:00
2025-10-10 18:20:22 +02:00
2025-10-09 10:59:17 +01:00
2025-10-13 18:37:59 -07:00
2025-10-06 12:03:56 +02:00
2025-10-02 15:35:04 +02:00
2025-10-13 18:37:16 -07:00
2025-10-02 15:35:04 +02:00
2025-10-02 15:35:04 +02:00
2025-10-06 12:03:56 +02:00
2025-10-02 15:35:05 +02:00
2025-10-02 15:35:05 +02:00
2025-10-06 13:10:55 +02:00
2025-10-02 15:35:05 +02:00
2025-10-06 12:03:57 +02:00
2025-10-08 18:20:16 -07:00
2025-10-06 12:03:57 +02:00
2025-10-02 15:35:05 +02:00
2025-10-06 12:03:57 +02:00
2025-10-02 15:35:05 +02:00
2025-10-06 12:03:57 +02:00
2025-10-02 15:35:05 +02:00
2025-10-06 12:03:57 +02:00
2025-10-02 15:35:05 +02:00
2025-10-06 12:03:57 +02:00
2025-10-06 12:03:53 +02:00
2025-10-06 12:03:57 +02:00
2025-10-06 12:03:53 +02:00
2025-10-06 12:03:58 +02:00
2025-10-06 12:03:54 +02:00
2025-10-10 12:50:48 +01:00
2025-10-06 12:03:54 +02:00
2025-10-13 18:37:59 -07:00
2025-10-06 12:03:54 +02:00
2025-10-06 12:03:54 +02:00
2025-10-09 22:12:39 -07:00
2025-10-06 12:03:55 +02:00
2025-10-10 09:55:20 +01:00
2025-10-06 12:03:55 +02:00
2025-10-06 12:03:55 +02:00
2025-10-06 12:03:55 +02:00
2025-10-06 12:03:55 +02:00
2025-10-06 12:03:55 +02:00
2025-10-13 13:44:23 +02:00
2025-10-09 22:12:39 -07:00
2025-10-09 22:12:39 -07:00
2025-10-13 18:37:59 -07:00
2025-10-13 13:01:10 +02:00
2025-10-06 12:03:56 +02:00
2025-10-06 12:03:58 +02:00
2025-10-06 13:07:57 +02:00
2025-10-09 10:59:17 +01:00
2025-10-13 11:40:38 +02:00
2025-10-06 13:07:57 +02:00
2025-10-06 13:07:58 +02:00
2025-10-06 13:07:58 +02:00
2025-10-10 09:55:20 +01:00
2025-10-06 13:07:58 +02:00
2025-10-06 13:07:58 +02:00
2025-10-06 13:07:58 +02:00
2025-10-13 18:37:59 -07:00
2025-10-13 13:32:28 +02:00
2025-10-13 18:37:59 -07:00
2025-10-13 13:44:07 +02:00
2025-10-13 13:44:08 +02:00
2025-10-13 13:44:08 +02:00
2025-10-13 13:44:08 +02:00
2025-10-13 13:44:08 +02:00
2025-10-13 13:44:08 +02:00
2025-10-13 13:44:24 +02:00
2025-10-13 13:44:24 +02:00
2025-10-13 13:44:24 +02:00
2025-10-13 13:44:24 +02:00
2025-10-13 13:44:24 +02:00
2025-10-13 18:37:59 -07:00
2025-10-13 13:44:25 +02:00
2025-10-13 13:44:25 +02:00
2025-10-13 13:44:25 +02:00
2025-10-13 13:44:25 +02:00
2025-10-13 13:44:25 +02:00
2025-10-13 13:44:25 +02:00
2025-10-13 13:44:25 +02:00
2025-10-13 13:44:25 +02:00
2025-10-13 13:44:26 +02:00
2025-10-13 15:15:50 +02:00
2025-10-13 15:13:00 -07:00
2025-10-13 15:15:50 +02:00
2025-10-13 15:13:00 -07:00
2025-10-01 21:41:55 -07:00
2025-10-10 12:27:24 +01:00
2025-10-13 18:37:59 -07:00
2025-10-01 17:39:08 +01:00
2025-10-01 17:39:08 +01:00
2025-10-01 21:55:38 -07:00
2025-10-01 21:41:55 -07:00
2025-10-01 11:40:03 -07:00
2025-10-02 14:20:04 +02:00
2025-10-06 13:07:57 +02:00
2025-10-09 22:18:53 -07:00
2025-10-10 12:11:43 +01:00
2025-10-09 22:48:45 -07:00
2025-10-09 22:12:39 -07:00
2025-10-10 12:50:48 +01:00
2025-10-10 12:50:48 +01:00
2025-10-09 22:18:53 -07:00
2025-10-01 21:41:55 -07:00
2025-10-14 11:00:49 +02:00