Re-enable some tests
This commit is contained in:
parent
335ed19821
commit
247689824f
|
@ -92,7 +92,6 @@ public class PluralEmbeddedOverrideTests {
|
|||
}
|
||||
|
||||
@Test
|
||||
@NotImplementedYet(strict = false,reason = "Some problem with NavigablePath creation and/or TableGroup registration under those paths")
|
||||
public void testOperations(SessionFactoryScope scope) {
|
||||
scope.inTransaction(
|
||||
session -> {
|
||||
|
@ -102,7 +101,7 @@ public class PluralEmbeddedOverrideTests {
|
|||
assertThat( loaded, sameInstance( queried ) );
|
||||
|
||||
assertThat( loaded.content.type, is( "notes" ) );
|
||||
assertThat( loaded.content.type, is( "Something worth noting" ) );
|
||||
assertThat( loaded.content.value, is( "Something worth noting" ) );
|
||||
|
||||
assertThat( loaded.attributes, notNullValue() );
|
||||
assertThat( loaded.attributes.size(), is( 2 ) );
|
||||
|
|
|
@ -12,12 +12,12 @@ import org.hibernate.boot.spi.MetadataImplementor;
|
|||
import org.hibernate.orm.test.util.SchemaUtil;
|
||||
|
||||
import org.hibernate.testing.orm.junit.DomainModel;
|
||||
import org.hibernate.testing.orm.junit.NotImplementedYet;
|
||||
import org.hibernate.testing.orm.junit.ServiceRegistry;
|
||||
import org.hibernate.testing.orm.junit.SessionFactory;
|
||||
import org.hibernate.testing.orm.junit.SessionFactoryScope;
|
||||
import org.junit.jupiter.api.AfterEach;
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import jakarta.persistence.AttributeOverride;
|
||||
|
@ -51,7 +51,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
|
|||
public class TablePerClassOverrideTests {
|
||||
|
||||
@Test
|
||||
@NotImplementedYet(strict = false, reason = "@AttributeOverrides not applied for Table per class")
|
||||
@Disabled("@AttributeOverrides is not supported for inheritance. See CoreMessageLogger#unsupportedAttributeOverrideWithEntityInheritance")
|
||||
public void testSchema(SessionFactoryScope scope) {
|
||||
MetadataImplementor metadata = scope.getMetadataImplementor();
|
||||
assertTrue( SchemaUtil.isColumnPresent( "CUSTOMER", "STREET", metadata ) );
|
||||
|
|
Loading…
Reference in New Issue