From e8b40c65505d31a2ad3373be8b1e1f175c52687b Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Thu, 12 Jan 2023 23:06:10 +0100 Subject: [PATCH] refactor: Renamed the test to `InMemoryWithFilesStorageIT` --- ...dApplicationTests.java => InMemoryWithFilesStorageIT.java} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename src/test/java/de/juplo/kafka/chat/backend/{ChatBackendApplicationTests.java => InMemoryWithFilesStorageIT.java} (92%) diff --git a/src/test/java/de/juplo/kafka/chat/backend/ChatBackendApplicationTests.java b/src/test/java/de/juplo/kafka/chat/backend/InMemoryWithFilesStorageIT.java similarity index 92% rename from src/test/java/de/juplo/kafka/chat/backend/ChatBackendApplicationTests.java rename to src/test/java/de/juplo/kafka/chat/backend/InMemoryWithFilesStorageIT.java index 9dac22ec..12abf7aa 100644 --- a/src/test/java/de/juplo/kafka/chat/backend/ChatBackendApplicationTests.java +++ b/src/test/java/de/juplo/kafka/chat/backend/InMemoryWithFilesStorageIT.java @@ -14,7 +14,7 @@ import java.time.Duration; @SpringBootTest( webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, properties = "chat.backend.storage-directory=target/test-classes/data/files") -class ChatBackendApplicationTests +class InMemoryWithFilesStorageIT { @LocalServerPort private int port; @@ -44,7 +44,7 @@ class ChatBackendApplicationTests .expectBody().jsonPath("$.name").isEqualTo("Peter's Chat-Room"); webTestClient .get() - .uri("http://localhost:{port}/4ace69b7-a79f-481b-ad0d-d756d60b66ec/ute/1478", port) + .uri("http://localhost:{port}/618e89ae-fdc0-4c65-8055-f49908295e8f/ute/1478", port) .accept(MediaType.APPLICATION_JSON) .exchange() .expectStatus().isOk() -- 2.20.1