From: Kai Moritz Date: Fri, 15 Sep 2023 09:48:25 +0000 (+0200) Subject: WIP:ALIGN X-Git-Tag: rebase--2023-09-15--16-33~15 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=5c5f6eaba60d5e3feb9cc14f2f48395ae0da52b0;p=demos%2Fkafka%2Fchat WIP:ALIGN --- 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)