From 6d3ef0d162bff2e4995f2c25e2ec80c8213ebafe Mon Sep 17 00:00:00 2001 From: ggmaleva Date: Wed, 29 Sep 2021 11:24:17 +0300 Subject: [PATCH] refactoring test --- .../wb/list/manager/WbListManagerApplicationTest.java | 5 +---- .../wb/list/manager/{ => config}/ConsumerConfig.java | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) rename src/test/java/com/rbkmoney/wb/list/manager/{ => config}/ConsumerConfig.java (93%) diff --git a/src/test/java/com/rbkmoney/wb/list/manager/WbListManagerApplicationTest.java b/src/test/java/com/rbkmoney/wb/list/manager/WbListManagerApplicationTest.java index ee512b3..2c9cbfe 100644 --- a/src/test/java/com/rbkmoney/wb/list/manager/WbListManagerApplicationTest.java +++ b/src/test/java/com/rbkmoney/wb/list/manager/WbListManagerApplicationTest.java @@ -6,7 +6,6 @@ import com.rbkmoney.testcontainers.annotations.kafka.KafkaTestcontainer; import com.rbkmoney.wb.list.manager.extension.RiakContainerExtension; import com.rbkmoney.wb.list.manager.utils.ChangeCommandWrapper; import com.rbkmoney.woody.thrift.impl.http.THClientBuilder; -import lombok.extern.slf4j.Slf4j; import org.apache.thrift.TBase; import org.apache.thrift.TException; import org.junit.jupiter.api.BeforeEach; @@ -31,7 +30,6 @@ import static org.junit.jupiter.api.Assertions.*; import static org.springframework.boot.test.context.SpringBootTest.WebEnvironment.RANDOM_PORT; import static org.testcontainers.shaded.com.trilead.ssh2.ChannelCondition.TIMEOUT; -@Slf4j @ExtendWith({RiakContainerExtension.class}) @SpringBootTest(webEnvironment = RANDOM_PORT) @KafkaSpringBootTest @@ -104,8 +102,7 @@ public class WbListManagerApplicationTest { } @Test - // TODO refactoring - void kafkaRowTest() throws Exception { + void kafkaRowTest() throws Exception { // TODO refactoring Row row = createRowOld(); ChangeCommand changeCommand = createCommand(row); row.setShopId(null); diff --git a/src/test/java/com/rbkmoney/wb/list/manager/ConsumerConfig.java b/src/test/java/com/rbkmoney/wb/list/manager/config/ConsumerConfig.java similarity index 93% rename from src/test/java/com/rbkmoney/wb/list/manager/ConsumerConfig.java rename to src/test/java/com/rbkmoney/wb/list/manager/config/ConsumerConfig.java index 31be0dd..b94bf9d 100644 --- a/src/test/java/com/rbkmoney/wb/list/manager/ConsumerConfig.java +++ b/src/test/java/com/rbkmoney/wb/list/manager/config/ConsumerConfig.java @@ -1,4 +1,4 @@ -package com.rbkmoney.wb.list.manager; +package com.rbkmoney.wb.list.manager.config; import com.rbkmoney.damsel.wb_list.Event; import com.rbkmoney.testcontainers.annotations.kafka.config.KafkaConsumer;