One more test fix
This commit is contained in:
parent
7753ba2e5c
commit
7a320729a0
|
@ -70,7 +70,7 @@ public class FhirResourceDaoDstu3ReferentialIntegrityTest extends BaseJpaDstu3Te
|
||||||
myOrganizationDao.delete(oid);
|
myOrganizationDao.delete(oid);
|
||||||
fail();
|
fail();
|
||||||
} catch (ResourceVersionConflictException e) {
|
} catch (ResourceVersionConflictException e) {
|
||||||
assertEquals("Unable to delete Organization/"+oid.getIdPart()+" because at least one resource has a reference to this resource. First reference found was resource Organization/"+oid.getIdPart()+" in path Patient.managingOrganization", e.getMessage());
|
assertEquals("Unable to delete Organization/" + oid.getIdPart() + " because at least one resource has a reference to this resource. First reference found was resource Patient/" + pid.getIdPart() + " in path Patient.managingOrganization", e.getMessage());
|
||||||
}
|
}
|
||||||
|
|
||||||
myPatientDao.delete(pid);
|
myPatientDao.delete(pid);
|
||||||
|
|
Loading…
Reference in New Issue