|
|
|
|
@ -1,5 +1,5 @@
@@ -1,5 +1,5 @@
|
|
|
|
|
/* |
|
|
|
|
* Copyright 2012-2024 the original author or authors. |
|
|
|
|
* Copyright 2012-2025 the original author or authors. |
|
|
|
|
* |
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
|
@ -68,9 +68,9 @@ import org.springframework.test.web.reactive.server.WebTestClient;
@@ -68,9 +68,9 @@ import org.springframework.test.web.reactive.server.WebTestClient;
|
|
|
|
|
* {@link AutoConfigureWebTestClient @AutoConfigureWebTestClient} annotation can be used. |
|
|
|
|
* <p> |
|
|
|
|
* Typically {@code @WebFluxTest} is used in combination with |
|
|
|
|
* {@link org.springframework.boot.test.mock.mockito.MockBean @MockBean} or |
|
|
|
|
* {@link Import @Import} to create any collaborators required by your {@code @Controller} |
|
|
|
|
* beans. |
|
|
|
|
* {@link org.springframework.test.context.bean.override.mockito.MockitoBean @MockitoBean} |
|
|
|
|
* or {@link Import @Import} to create any collaborators required by your |
|
|
|
|
* {@code @Controller} beans. |
|
|
|
|
* <p> |
|
|
|
|
* If you are looking to load your full application configuration and use WebTestClient, |
|
|
|
|
* you should consider {@link SpringBootTest @SpringBootTest} combined with |
|
|
|
|
|