WIP
authorKai Moritz <kai@juplo.de>
Fri, 4 Nov 2022 08:01:33 +0000 (09:01 +0100)
committerKai Moritz <kai@juplo.de>
Fri, 4 Nov 2022 11:52:13 +0000 (12:52 +0100)
src/test/java/de/juplo/kafka/ApplicationIT.java

index 4bb4f5b..1baca99 100644 (file)
@@ -2,7 +2,6 @@ package de.juplo.kafka;
 
 import org.junit.jupiter.api.Test;
 import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.boot.test.autoconfigure.data.mongo.AutoConfigureDataMongo;
 import org.springframework.boot.test.context.SpringBootTest;
 import org.springframework.boot.test.web.client.TestRestTemplate;
 import org.springframework.boot.test.web.server.LocalServerPort;
@@ -15,10 +14,8 @@ import static de.juplo.kafka.ApplicationIT.TOPIC;
     webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT,
     properties = {
         "spring.kafka.bootstrap-servers=${spring.embedded.kafka.brokers}",
-        "sumup.adder.topic=" + TOPIC,
-        "spring.mongodb.embedded.version=4.4.13" })
+        "simple.consumer.topic=" + TOPIC })
 @EmbeddedKafka(topics = TOPIC)
-@AutoConfigureDataMongo
 public class ApplicationIT
 {
   public static final String TOPIC = "FOO";