Skip to content

Commit 219d622

Browse files
committed
skip assertion on Informix
1 parent 94f7e95 commit 219d622

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hibernate-core/src/test/java/org/hibernate/orm/test/constraint/ConstraintInterpretationTest2.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public class ConstraintInterpretationTest2 {
5555
}
5656
catch (ConstraintViolationException cve) {
5757
assertEquals( ConstraintViolationException.ConstraintKind.NOT_NULL, cve.getKind() );
58-
if ( !(scope.getDialect() instanceof DB2Dialect) ) {
58+
if ( !(scope.getDialect() instanceof DB2Dialect) && !(scope.getDialect() instanceof InformixDialect) ) {
5959
assertTrue( cve.getConstraintName().toLowerCase().endsWith( "id" ) );
6060
}
6161
}

0 commit comments

Comments
 (0)