From: Kai Moritz Date: Tue, 14 Jan 2020 07:18:05 +0000 (+0100) Subject: WIP:it X-Git-Tag: wip-it~18 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=8d6568741fb3fa5774f8b698f8e233ef2f00534a;p=demos%2Ftesting WIP:it --- diff --git a/src/test/java/de/juplo/demo/DemoApplicationIT.java b/src/test/java/de/juplo/demo/DemoApplicationIT.java index cde888f..4f0d1f9 100644 --- a/src/test/java/de/juplo/demo/DemoApplicationIT.java +++ b/src/test/java/de/juplo/demo/DemoApplicationIT.java @@ -7,8 +7,8 @@ import static org.mockserver.matchers.Times.exactly; import static org.mockserver.model.HttpForward.forward; import static org.mockserver.model.HttpRequest.request; import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTest; import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureWebMvc; -import org.springframework.boot.test.context.SpringBootTest; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.http.MediaType; @@ -20,7 +20,7 @@ import org.springframework.test.web.servlet.setup.MockMvcBuilders; import org.springframework.web.context.WebApplicationContext; import org.springframework.web.reactive.function.client.WebClient; -@SpringBootTest +@WebFluxTest @AutoConfigureWebMvc class DemoApplicationIT extends IntegrationTestBase {