Skip to content

Commit

Permalink
test: fix kitchen svc tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jangjunha committed Sep 15, 2023
1 parent c0b25e8 commit d815f03
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import me.jangjunha.ftgo.kitchen_service.service.KitchenService;
import me.jangjunha.ftgo.kitchen_service.service.KitchenServiceCommandHandler;
import me.jangjunha.ftgo.kitchen_service.service.KitchenServiceMessagingConfiguration;
import me.jangjunha.ftgo.kitchen_service.service.KitchenServiceEventConsumer;
import me.jangjunha.ftgo.pact.provider.junitsupport.filter.ByInteractionType;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.TestTemplate;
Expand All @@ -33,7 +32,6 @@
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.mock.mockito.MockBean;
import org.springframework.boot.test.mock.mockito.SpyBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.test.context.junit.jupiter.SpringExtension;
Expand Down Expand Up @@ -151,9 +149,5 @@ void setUp(PactVerificationContext context) {
KitchenServiceMessagingConfiguration.class,
})
static class TestConfiguration {
@Bean
KitchenServiceEventConsumer kitchenServiceEventConsumer(KitchenService kitchenService) {
return new KitchenServiceEventConsumer(kitchenService);
}
}
}

0 comments on commit d815f03

Please sign in to comment.