HHH-4648 - Test refactoring

This commit is contained in:
Lukasz Antoniak 2011-07-26 06:28:23 +02:00
parent 4fc2a8c027
commit acd7ce4618
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ public class SingleDomainObjectToMultipleTablesTest extends AbstractOneSessionTe
Person ownerVer1 = getAuditReader().find(Person.class, "Personaje", ownerId, 1); Person ownerVer1 = getAuditReader().find(Person.class, "Personaje", ownerId, 1);
Person driverVer1 = getAuditReader().find(Person.class, "Driveraje", driverId, 1); Person driverVer1 = getAuditReader().find(Person.class, "Driveraje", driverId, 1);
/* Check references. */ /* Check ids. */
Assert.assertEquals(ownerVer1.getId(), carVer1.getOwner().getId()); Assert.assertEquals(ownerVer1.getId(), carVer1.getOwner().getId());
Assert.assertEquals(driverVer1.getId(), carVer1.getDriver().getId()); Assert.assertEquals(driverVer1.getId(), carVer1.getDriver().getId());