From 004da1cd84125c5eb888e100d046b6d1e89e3d33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yoann=20Rodi=C3=A8re?= Date: Mon, 21 Oct 2024 11:11:38 +0200 Subject: [PATCH] HSEARCH-5260 Fix and re-enable DynamicMapBaseIT#toOne See https://hibernate.atlassian.net/browse/HHH-16100?focusedCommentId=116948 --- .../mapper/orm/dynamicmap/DynamicMapBaseIT.java | 2 -- .../orm/src/test/resources/DynamicMapBaseIT/toone.hbm.xml | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/dynamicmap/DynamicMapBaseIT.java b/integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/dynamicmap/DynamicMapBaseIT.java index 4d9f23e3668..d7d7bdec35a 100644 --- a/integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/dynamicmap/DynamicMapBaseIT.java +++ b/integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/dynamicmap/DynamicMapBaseIT.java @@ -41,7 +41,6 @@ import org.hibernate.search.util.impl.integrationtest.mapper.orm.OrmSetupHelper; import org.hibernate.search.util.impl.test.annotation.TestForIssue; -import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.RegisterExtension; import org.junit.jupiter.params.ParameterizedTest; @@ -656,7 +655,6 @@ void basic_list() { } @Test - @Disabled("toone associations are buggy in dynamic-map mode -- see https://hibernate.atlassian.net/browse/HHH-16100") void toOne() { String hbmPath = "/DynamicMapBaseIT/toone.hbm.xml"; String bookTypeName = "Book"; diff --git a/integrationtest/mapper/orm/src/test/resources/DynamicMapBaseIT/toone.hbm.xml b/integrationtest/mapper/orm/src/test/resources/DynamicMapBaseIT/toone.hbm.xml index c02c7eda46c..40cd953a9ea 100644 --- a/integrationtest/mapper/orm/src/test/resources/DynamicMapBaseIT/toone.hbm.xml +++ b/integrationtest/mapper/orm/src/test/resources/DynamicMapBaseIT/toone.hbm.xml @@ -16,6 +16,7 @@ - + +