One more test fix

This commit is contained in:
James Agnew 2019-05-04 14:57:18 -04:00
parent 7753ba2e5c
commit 7a320729a0
1 changed files with 1 additions and 1 deletions

View File

@ -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);