WIP:it
authorKai Moritz <kai@juplo.de>
Tue, 14 Jan 2020 07:18:05 +0000 (08:18 +0100)
committerKai Moritz <kai@juplo.de>
Tue, 14 Jan 2020 07:18:05 +0000 (08:18 +0100)
src/test/java/de/juplo/demo/DemoApplicationIT.java

index cde888f..4f0d1f9 100644 (file)
@@ -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
 {