From 9a45c611d562c3b849eb6c67247867977dcbf245 Mon Sep 17 00:00:00 2001 From: phinner <62483793+Phinner@users.noreply.github.com> Date: Tue, 7 Nov 2023 02:45:46 +0100 Subject: [PATCH] fix: Fix messenger compilation error --- .../xpdustry/imperium/common/message/RabbitmqMessengerTest.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/imperium-common/src/test/kotlin/com/xpdustry/imperium/common/message/RabbitmqMessengerTest.kt b/imperium-common/src/test/kotlin/com/xpdustry/imperium/common/message/RabbitmqMessengerTest.kt index 25ae2dec..a73d0c9b 100644 --- a/imperium-common/src/test/kotlin/com/xpdustry/imperium/common/message/RabbitmqMessengerTest.kt +++ b/imperium-common/src/test/kotlin/com/xpdustry/imperium/common/message/RabbitmqMessengerTest.kt @@ -18,7 +18,6 @@ package com.xpdustry.imperium.common.message import com.xpdustry.imperium.common.application.ExitStatus -import com.xpdustry.imperium.common.application.ImperiumMetadata import com.xpdustry.imperium.common.application.SimpleImperiumApplication import com.xpdustry.imperium.common.async.ImperiumScope import com.xpdustry.imperium.common.commonModule @@ -26,6 +25,7 @@ import com.xpdustry.imperium.common.config.MessengerConfig import com.xpdustry.imperium.common.inject.factory import com.xpdustry.imperium.common.inject.get import com.xpdustry.imperium.common.inject.module +import java.util.UUID import java.util.concurrent.CopyOnWriteArraySet import kotlin.time.Duration.Companion.seconds import kotlinx.coroutines.CompletableDeferred @@ -232,7 +232,7 @@ class RabbitmqMessengerTest { factory { RabbitmqMessenger( MessengerConfig.RabbitMQ(port = RABBITMQ_CONTAINER.amqpPort), - ImperiumMetadata()) + UUID.randomUUID().toString()) } } }