WIP:it
[demos/testing] / src / test / java / de / juplo / demo / DemoApplicationIT.java
index be40c75..cde888f 100644 (file)
@@ -7,6 +7,7 @@ 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.servlet.AutoConfigureWebMvc;
 import org.springframework.boot.test.context.SpringBootTest;
 import org.springframework.context.annotation.Bean;
 import org.springframework.context.annotation.Configuration;
@@ -20,6 +21,7 @@ import org.springframework.web.context.WebApplicationContext;
 import org.springframework.web.reactive.function.client.WebClient;
 
 @SpringBootTest
+@AutoConfigureWebMvc
 class DemoApplicationIT extends IntegrationTestBase
 {
   MockMvc mockMvc;