WIP:ALIGN
authorKai Moritz <kai@juplo.de>
Fri, 15 Sep 2023 09:48:25 +0000 (11:48 +0200)
committerKai Moritz <kai@juplo.de>
Fri, 15 Sep 2023 11:17:29 +0000 (13:17 +0200)
src/test/java/de/juplo/kafka/chat/backend/implementation/kafka/KafkaTestUtils.java

index 8d948ef..5183d14 100644 (file)
@@ -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)