HHH-4648 - Test refactoring
This commit is contained in:
parent
4fc2a8c027
commit
acd7ce4618
|
@ -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());
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue