From bb520120119705c241c94f542eb8253cd2f1e6f2 Mon Sep 17 00:00:00 2001 From: wally5077 Date: Sun, 29 Oct 2023 22:24:56 +0800 Subject: [PATCH] :bug: Fix duplicated bean registry --- .../utopia/utopiatestkit/configs/MockUtopiaBeanConfig.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/utopia-test-kit/src/main/kotlin/tw/waterballsa/utopia/utopiatestkit/configs/MockUtopiaBeanConfig.kt b/utopia-test-kit/src/main/kotlin/tw/waterballsa/utopia/utopiatestkit/configs/MockUtopiaBeanConfig.kt index 87075fb1..f9934361 100644 --- a/utopia-test-kit/src/main/kotlin/tw/waterballsa/utopia/utopiatestkit/configs/MockUtopiaBeanConfig.kt +++ b/utopia-test-kit/src/main/kotlin/tw/waterballsa/utopia/utopiatestkit/configs/MockUtopiaBeanConfig.kt @@ -5,13 +5,11 @@ import net.dv8tion.jda.api.entities.Guild import org.mockito.Mockito.* import org.springframework.context.annotation.Bean import org.springframework.context.annotation.ComponentScan -import org.springframework.context.annotation.Configuration import tw.waterballsa.utopia.commons.config.WsaDiscordProperties import tw.waterballsa.utopia.jda.domains.EventPublisher import java.util.* import java.util.UUID.randomUUID -@Configuration @ComponentScan(basePackages = ["tw.waterballsa.utopia"]) open class MockUtopiaBeanConfig {