From 5c5f6eaba60d5e3feb9cc14f2f48395ae0da52b0 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Fri, 15 Sep 2023 11:48:25 +0200 Subject: [PATCH] WIP:ALIGN --- .../chat/backend/implementation/kafka/KafkaTestUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/de/juplo/kafka/chat/backend/implementation/kafka/KafkaTestUtils.java b/src/test/java/de/juplo/kafka/chat/backend/implementation/kafka/KafkaTestUtils.java index 8d948efc..5183d146 100644 --- a/src/test/java/de/juplo/kafka/chat/backend/implementation/kafka/KafkaTestUtils.java +++ b/src/test/java/de/juplo/kafka/chat/backend/implementation/kafka/KafkaTestUtils.java @@ -23,8 +23,8 @@ import static de.juplo.kafka.chat.backend.implementation.kafka.KafkaChatHomeServ public abstract class KafkaTestUtils { @TestConfiguration - @Import(KafkaServicesConfiguration.class) @EnableConfigurationProperties(ChatBackendProperties.class) + @Import(KafkaServicesConfiguration.class) @TestPropertySource(properties = { "spring.main.allow-bean-definition-overriding=true", "chat.backend.services=kafka", @@ -32,7 +32,7 @@ public abstract class KafkaTestUtils "chat.backend.kafka.bootstrap-servers=${spring.embedded.kafka.brokers}", "spring.kafka.bootstrap-servers=${spring.embedded.kafka.brokers}", }) - public static class KafkaTestConfiguration + static class KafkaTestConfiguration { @Bean WorkAssignor dataChannelWorkAssignor(DataChannel dataChannel) -- 2.20.1