HHH-8061 envers tests failing on master-matrix CI
This commit is contained in:
parent
13dce3379a
commit
8673e08e7f
|
@ -42,6 +42,10 @@ public class EnumTypeTest extends BaseEnversJPAFunctionalTestCase {
|
||||||
|
|
||||||
Assert.assertNotNull( values );
|
Assert.assertNotNull( values );
|
||||||
Assert.assertEquals( 1, values.size() );
|
Assert.assertEquals( 1, values.size() );
|
||||||
Assert.assertArrayEquals( new Object[] { "X", 0 }, values.get( 0 ) );
|
Object[] results = values.get( 0 );
|
||||||
|
Assert.assertEquals( "X", results[0] );
|
||||||
|
// Compare the Strings to account for, as an example, Oracle
|
||||||
|
// returning a BigDecimal instead of an int.
|
||||||
|
Assert.assertEquals( "0", results[1] + "" );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue