diff --git a/kstreamplify-core/src/test/java/com/michelin/kstreamplify/error/DlqProductionExceptionHandlerTest.java b/kstreamplify-core/src/test/java/com/michelin/kstreamplify/error/DlqProductionExceptionHandlerTest.java index 25e3d215..113c390d 100644 --- a/kstreamplify-core/src/test/java/com/michelin/kstreamplify/error/DlqProductionExceptionHandlerTest.java +++ b/kstreamplify-core/src/test/java/com/michelin/kstreamplify/error/DlqProductionExceptionHandlerTest.java @@ -6,8 +6,6 @@ import com.michelin.kstreamplify.avro.KafkaError; import com.michelin.kstreamplify.context.KafkaStreamsExecutionContext; -import com.michelin.kstreamplify.error.DlqExceptionHandler; -import com.michelin.kstreamplify.error.DlqProductionExceptionHandler; import io.confluent.kafka.serializers.KafkaAvroSerializer; import io.confluent.kafka.serializers.KafkaAvroSerializerConfig; import java.nio.charset.StandardCharsets; @@ -99,7 +97,7 @@ void shouldConfigure() { configs.put("schema.registry.url", "localhost:8080"); configs.put("acks", "all"); - handler = new DlqProductionExceptionHandler(); + handler = new DlqProductionExceptionHandler(null); handler.configure(configs); assertTrue(DlqExceptionHandler.getProducer() instanceof KafkaProducer);