From 0e721fd59f2dbd111e167c0c7be3b118e70ee601 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Mon, 25 Mar 2024 22:58:39 +0100 Subject: [PATCH] test: GREEN - fix: Removed the unnecessary ``@DirtiesContext`` * The annotation disturbed the test-execution. * Strangly enough, the annotation disturbed the test-execution only after the refactoring. --- .../chat/backend/implementation/AbstractConfigurationIT.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/test/java/de/juplo/kafka/chat/backend/implementation/AbstractConfigurationIT.java b/src/test/java/de/juplo/kafka/chat/backend/implementation/AbstractConfigurationIT.java index 44194817..139d6604 100644 --- a/src/test/java/de/juplo/kafka/chat/backend/implementation/AbstractConfigurationIT.java +++ b/src/test/java/de/juplo/kafka/chat/backend/implementation/AbstractConfigurationIT.java @@ -12,7 +12,6 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.core.io.Resource; import org.springframework.http.MediaType; -import org.springframework.test.annotation.DirtiesContext; import org.springframework.test.web.reactive.server.WebTestClient; import org.testcontainers.shaded.org.awaitility.Awaitility; import reactor.core.publisher.Flux; @@ -29,7 +28,6 @@ import static org.hamcrest.Matchers.endsWith; @Slf4j -@DirtiesContext public abstract class AbstractConfigurationIT { final static String EXISTING_CHATROOM = "5c73531c-6fc4-426c-adcb-afc5c140a0f7"; -- 2.39.5