From 91e75c857fa622122d44845783473cea1532bbb7 Mon Sep 17 00:00:00 2001 From: Danielle Voznyy Date: Thu, 1 Feb 2024 12:15:32 -0500 Subject: [PATCH] Fix failing tests --- .../mineinabyss/geary/prefabs/GearyEntitySerializerTest.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/addons/geary-prefabs/src/jvmTest/kotlin/com/mineinabyss/geary/prefabs/GearyEntitySerializerTest.kt b/addons/geary-prefabs/src/jvmTest/kotlin/com/mineinabyss/geary/prefabs/GearyEntitySerializerTest.kt index cc8abfd3..d0192322 100644 --- a/addons/geary-prefabs/src/jvmTest/kotlin/com/mineinabyss/geary/prefabs/GearyEntitySerializerTest.kt +++ b/addons/geary-prefabs/src/jvmTest/kotlin/com/mineinabyss/geary/prefabs/GearyEntitySerializerTest.kt @@ -4,8 +4,9 @@ import com.mineinabyss.geary.modules.TestEngineModule import com.mineinabyss.geary.modules.geary import com.mineinabyss.geary.serialization.dsl.serializableComponents import com.mineinabyss.geary.serialization.dsl.serialization -import com.mineinabyss.geary.serialization.serializers.GearyEntitySerializer import com.mineinabyss.geary.serialization.formats.YamlFormat +import com.mineinabyss.geary.serialization.serializers.GearyEntitySerializer +import com.mineinabyss.idofront.di.DI import io.kotest.matchers.collections.shouldContainExactly import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable @@ -16,6 +17,7 @@ import org.junit.jupiter.api.TestInstance class GearyEntitySerializerTest { init { + DI.clear() geary(TestEngineModule) { serialization { components {