From 0c64f7d40642ff238d58498ccb4c2187f7020910 Mon Sep 17 00:00:00 2001 From: BKadirkhodjaev Date: Mon, 4 Nov 2024 19:34:15 +0500 Subject: [PATCH] [MODAUD-195]. Rename restricted arg name --- .../folio/rest/impl/InvoiceLineEventsHandlerMockTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mod-audit-server/src/test/java/org/folio/rest/impl/InvoiceLineEventsHandlerMockTest.java b/mod-audit-server/src/test/java/org/folio/rest/impl/InvoiceLineEventsHandlerMockTest.java index f4eba2b..1da8038 100644 --- a/mod-audit-server/src/test/java/org/folio/rest/impl/InvoiceLineEventsHandlerMockTest.java +++ b/mod-audit-server/src/test/java/org/folio/rest/impl/InvoiceLineEventsHandlerMockTest.java @@ -72,9 +72,9 @@ void shouldProcessEvent() { saveFuture.onComplete(ar -> Assertions.assertTrue(ar.succeeded())); } - private KafkaConsumerRecord buildKafkaConsumerRecord(InvoiceLineAuditEvent record) { - String topic = KafkaTopicNameHelper.formatTopicName(KAFKA_ENV, getDefaultNameSpace(), TENANT_ID, record.getAction().toString()); - ConsumerRecord consumerRecord = buildConsumerRecord(topic, record); + private KafkaConsumerRecord buildKafkaConsumerRecord(InvoiceLineAuditEvent kafkaConsumerRecord) { + String topic = KafkaTopicNameHelper.formatTopicName(KAFKA_ENV, getDefaultNameSpace(), TENANT_ID, kafkaConsumerRecord.getAction().toString()); + ConsumerRecord consumerRecord = buildConsumerRecord(topic, kafkaConsumerRecord); return new KafkaConsumerRecordImpl<>(consumerRecord); }