Updated wording assertion in exception tracing
This commit is contained in:
parent
4b610801fa
commit
b3a9ab20dc
|
@ -242,7 +242,7 @@ public class MdmStorageInterceptorIT extends BaseMdmR4Test {
|
|||
myMdmHelper.doUpdateResource(jane, true);
|
||||
fail();
|
||||
} catch (ForbiddenOperationException e) {
|
||||
assertThat(e.getMessage(), is(equalTo("While running with EID updates disabled, EIDs may not be updated on Patient/Practitioner resources")));
|
||||
assertThat(e.getMessage(), is(equalTo("While running with EID updates disabled, EIDs may not be updated on source resources")));
|
||||
}
|
||||
setPreventEidUpdates(false);
|
||||
}
|
||||
|
@ -257,7 +257,7 @@ public class MdmStorageInterceptorIT extends BaseMdmR4Test {
|
|||
myMdmHelper.doCreateResource(patient, true);
|
||||
fail();
|
||||
} catch (ForbiddenOperationException e) {
|
||||
assertThat(e.getMessage(), is(equalTo("While running with multiple EIDs disabled, Patient/Practitioner resources may have at most one EID.")));
|
||||
assertThat(e.getMessage(), is(equalTo("While running with multiple EIDs disabled, source resources may have at most one EID.")));
|
||||
}
|
||||
|
||||
setPreventMultipleEids(false);
|
||||
|
|
|
@ -85,7 +85,6 @@ public final class MdmResourceUtil {
|
|||
theResource.getMeta().getTag().removeIf(tag -> tag.getSystem().equalsIgnoreCase(theSystem));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the MDM-managed tag, indicating the MDM system has ownership of this
|
||||
* Resource. No changes are made if resource is already maanged by MDM.
|
||||
|
|
Loading…
Reference in New Issue