X-Git-Url: https://juplo.de/gitweb/?a=blobdiff_plain;f=src%2Ftest%2Fjava%2Fde%2Fjuplo%2Fdemo%2FDemoApplicationTests.java;fp=src%2Ftest%2Fjava%2Fde%2Fjuplo%2Fdemo%2FDemoApplicationTests.java;h=791a60bb58a7cd23760d03e3e4cf1ca09cdc333e;hb=5e66527ece6c1cca3de454439c115d4f035286d6;hp=e5729d5286294456dfa4d522c47bdbe2c4c6eaea;hpb=ded79957c6d4bc388560ac37677cbf5323d7b314;p=demos%2Fspring-boot diff --git a/src/test/java/de/juplo/demo/DemoApplicationTests.java b/src/test/java/de/juplo/demo/DemoApplicationTests.java index e5729d5..791a60b 100644 --- a/src/test/java/de/juplo/demo/DemoApplicationTests.java +++ b/src/test/java/de/juplo/demo/DemoApplicationTests.java @@ -1,22 +1,13 @@ 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(webEnvironment = RANDOM_PORT) -@Slf4j -class DemoApplicationTests -{ - @Autowired - WebTestClient client; +@SpringBootTest +class DemoApplicationTests { - - @Test - void contextLoads() - { + @Test + void contextLoads() { } + }