<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-failsafe-plugin</artifactId>
- </plugin>
</plugins>
</build>
package de.juplo.demo;
+import lombok.extern.slf4j.Slf4j;
import org.junit.jupiter.api.Test;
+import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
+import static org.springframework.boot.test.context.SpringBootTest.WebEnvironment.RANDOM_PORT;
+import org.springframework.test.web.reactive.server.WebTestClient;
-@SpringBootTest
-class DemoApplicationTests {
+@SpringBootTest(webEnvironment = RANDOM_PORT)
+@Slf4j
+class DemoApplicationTests
+{
+ @Autowired
+ WebTestClient client;
- @Test
- void contextLoads() {
- }
+ @Test
+ void contextLoads()
+ {
+ }
}
+++ /dev/null
-package de.juplo.demo;
-
-
-import lombok.extern.slf4j.Slf4j;
-import org.junit.jupiter.api.Test;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.boot.test.context.SpringBootTest;
-import static org.springframework.boot.test.context.SpringBootTest.WebEnvironment.RANDOM_PORT;
-import org.springframework.test.web.reactive.server.WebTestClient;
-
-
-/**
- * Integration-Test for the {@link DemoController}.
- * @author Kai Moritz
- */
-@SpringBootTest(webEnvironment = RANDOM_PORT, classes = DemoController.class)
-@Slf4j
-public class DemoControllerIT
-{
- @Autowired
- WebTestClient client;
-
-
- @Test
- void testSubmit()
- {
-
- }
-}