HHH-8061 envers tests failing on master-matrix CI

This commit is contained in:
Brett Meyer 2013-03-11 17:08:12 -04:00
parent 13dce3379a
commit 8673e08e7f
1 changed files with 5 additions and 1 deletions

View File

@ -42,6 +42,10 @@ public class EnumTypeTest extends BaseEnversJPAFunctionalTestCase {
Assert.assertNotNull( values );
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] + "" );
}
}