You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hibernate-core/src/test/java/org/hibernate/test/inheritance/MappedSuperclassInheritanceTest.java
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,7 @@
31
31
importstaticorg.junit.Assert.assertEquals;
32
32
importstaticorg.junit.Assert.assertFalse;
33
33
importstaticorg.junit.Assert.assertTrue;
34
+
importstaticorg.junit.Assert.fail;
34
35
35
36
/**
36
37
*
@@ -60,7 +61,7 @@ public void buildEntityManagerFactory() {
60
61
super.buildEntityManagerFactory();
61
62
62
63
assertTrue( triggerable.wasTriggered() );
63
-
assertTrue( triggerable.triggerMessage().contains( "An entity cannot be annotated with both @Inheritance and @MappedSuperclass" ) );
64
+
assertTrue( triggerable.triggerMessage().contains( "A class should not be annotated with both @Inheritance and @MappedSuperclass. @Inheritance will be ignored for" ) );
0 commit comments