HHH-7187 failed tests

This commit is contained in:
Strong Liu 2012-03-26 16:53:20 +08:00
parent d3b640cb75
commit d732cfa7d9
2 changed files with 4 additions and 4 deletions

View File

@ -81,9 +81,9 @@ public class QuotedFieldsTest extends AbstractEntityTest {
@Test
public void testEscapeEntityField() {
Table table = getCfg().getClassMapping("org.hibernate.envers.test.integration.naming.quotation.QuotedFieldsEntity_AUD").getTable();
Column column1 = getColumnByName(table, "id#");
Column column2 = getColumnByName(table, "#data1");
Column column3 = getColumnByName(table, "#data2");
Column column1 = getColumnByName(table, "id");
Column column2 = getColumnByName(table, "data1");
Column column3 = getColumnByName(table, "data2");
assert column1 != null;
assert column2 != null;
assert column3 != null;

View File

@ -208,7 +208,7 @@ public class MulIdOneToManyQuery extends AbstractEntityTest {
.add(AuditEntity.relatedId("reference").eq(id3))
.add(AuditEntity.id().eq(id2))
.getSingleResult();
assertEquals( 0, rev1_related );
assertEquals( 0, rev1_related );
assertEquals( 0, rev2_related );
assertEquals( new SetRefIngMulIdEntity(id2, "y", null), rev3_related );
}