From 9b2597c809530138afb167780d1e8ab996b80edb Mon Sep 17 00:00:00 2001 From: ds Date: Fri, 15 May 2026 23:50:40 +0000 Subject: [PATCH] =?UTF-8?q?src/test/java/com/example/demo/DemoApplicationT?= =?UTF-8?q?ests.java=20gel=C3=B6scht?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../example/demo/DemoApplicationTests.java | 25 ------------------- 1 file changed, 25 deletions(-) delete mode 100644 src/test/java/com/example/demo/DemoApplicationTests.java diff --git a/src/test/java/com/example/demo/DemoApplicationTests.java b/src/test/java/com/example/demo/DemoApplicationTests.java deleted file mode 100644 index d5e4a21..0000000 --- a/src/test/java/com/example/demo/DemoApplicationTests.java +++ /dev/null @@ -1,25 +0,0 @@ -package com.example.demo; - -import org.junit.jupiter.api.Test; -import org.springframework.boot.test.context.SpringBootTest; -import org.springframework.boot.test.context.SpringBootTest.WebEnvironment; -import org.springframework.boot.test.web.client.TestRestTemplate; -import org.springframework.beans.factory.annotation.Autowired; -import static org.junit.jupiter.api.Assertions.assertEquals; - -@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT) -class DemoApplicationTests { - - @Test - void contextLoads() { - } - - //@Autowired - //private TestRestTemplate restTemplate; - - @Test - void homeResponse() { - String body = this.restTemplate.getForObject("/", String.class); - assertEquals("Spring is here!", body); - } -}